Function: TileLayout()
ts
function TileLayout(props): Element;Renders a tiling as HTML: one absolutely positioned, clip-path-ed element per tile, holding whatever you put in it (images, video, text, components). Everything is sized in percentages, so the layout scales with the container's width.
Each tile wrapper has data-cell-id and data-index, plus data-empty (no content) and data-boundary (cut by the region outline) for styling.
Clipping also applies to pointer events, so hover and clicks follow the tile shapes.
Parameters
| Parameter | Type |
|---|---|
props | TileLayoutProps |
Returns
Element