@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

ParameterType
propsDiaryCardProps

Returns

Element

Type Aliases

DiaryCardProps

type DiaryCardProps = TouchableOpacityProps & object;

Props for DiaryCard; also accepts TouchableOpacity props.

Type Declaration

NameTypeDescription
childrenReact.ReactNodeCard content.
hasData?booleanWhether the card has data; cards without data use a disabled background.
style?ViewStyleStyle for the card.
testID?stringTest identifier for the card.

Last updated on

On this page