TileLayoutProps
Represents the properties of [TileLayout](% slug overview_tilelayout %) component.
Name | Type | Default | Description |
---|---|---|---|
autoFlow? |
|
Controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the TileLayout.
For further reference, check grid-auto-flow CSS article.
Defaults to jsx
| |
className? |
|
Sets additional classes to the TileLayout. jsx
| |
columns? |
|
Specifies the default number of columns (see example). jsx
| |
columnWidth? |
|
Specifies the default width of the columns (see example). jsx
| |
dataItemKey? |
|
Represents the jsx
| |
dir? |
|
Represents the jsx
| |
gap? |
|
Specifies the gaps between the tiles (see example).
jsx
| |
id? |
|
Sets the jsx
| |
ignoreDrag? |
|
Use this callback to prevent or allow dragging of the tiles based on specific DOM events.
Setting jsx
| |
items? |
|
The collection of items that will be rendered in the TileLayout (see example). jsx
| |
onReposition? |
|
Fires when the user repositions the tile by either dragging or resizing (see example). jsx
| |
positions? |
|
The list of tiles' positions which are used when the TileLayout is in controlled mode (see example). jsx
| |
rowHeight? |
|
Specifies the default height of the rows (see example). jsx
| |
style? |
|
Sets additional CSS styles to the TileLayout. jsx
|