Function: tileStyle()
ts
function tileStyle(
frame,
cell,
o
): StyleMap;A tile's element: placed over its cell's bounding box and clipped to its shape. Empty tiles (and every tile with safeArea) show their fill unless there's a backdrop.
Parameters
| Parameter | Type |
|---|---|
frame | Frame |
cell | Cell |
o | { aspect?: number; backdrop?: boolean; clickable?: boolean; empty: boolean; focus?: Focus; safeArea?: SafeAreaProp; } |
o.aspect? | number |
o.backdrop? | boolean |
o.clickable? | boolean |
o.empty | boolean |
o.focus? | Focus |
o.safeArea? | SafeAreaProp |