@ovok/native/tile
Tile component for task and dashboard entries.
- Stable unknown
- Release candidate since 1.16.1-rc.3
- Development since 1.16.1-dev.2111+9796905
Tile component for task and dashboard entries.
Import from @ovok/native/tile.
Components
Tile()
function Tile(props): Element;Card container for a measurement tile; compose it with the Tile.* sub-components.
Parameters
| Parameter | Type |
|---|---|
props | TileProps |
Returns
Element
Type Aliases
TaskIconProps
type TaskIconProps = object;Props for the tile's task icon.
Properties
color?
color?: string;Icon color.
measurementTypeKey
measurementTypeKey: MeasurementTypeKey;Measurement type whose icon is shown.
size?
size?: number;Icon size.
style?
style?: React.ComponentProps<typeof SvgXml>["style"];Style for the icon.
testID?
testID?: string;Test identifier for the icon.
Last updated on