Returns the tile view.
Throws when the component does not render in a tile view.
export default function MyTile() { const {view} = useTile() return <p>{view.metadata.size}</p>} Copy
export default function MyTile() { const {view} = useTile() return <p>{view.metadata.size}</p>}
Returns the tile view.
Throws when the component does not render in a tile view.