@ovok/native/diary
Diary card component.
- Stable unknown
- Release candidate since 1.16.1-rc.3
- Development since 1.16.1-dev.2111+9796905
Diary card component.
Import from @ovok/native/diary.
Components
DiaryCard()
function DiaryCard(props): Element;Pressable diary card for one measurement type; compose it with the DiaryCard.* sub-components.
Parameters
| Parameter | Type |
|---|---|
props | DiaryCardProps |
Returns
Element
Type Aliases
DiaryCardProps
type DiaryCardProps = TouchableOpacityProps & object;Props for DiaryCard; also accepts TouchableOpacity props.
Type Declaration
| Name | Type | Description |
|---|---|---|
children | React.ReactNode | Card content. |
hasData? | boolean | Whether the card has data; cards without data use a disabled background. |
style? | ViewStyle | Style for the card. |
testID? | string | Test identifier for the card. |
Last updated on