DiaryCard.Title
Title text for diary cards. Inherited from the Tile module and styled with large title typography.
Basic Example
import { MeasurementTypeKey } from "@ovok/core";
import { DiaryCard } from "@ovok/native";
import * as React from "react";
const BasicDiaryCardTitleExample = () => {
return <DiaryCard.Title>Body Weight</DiaryCard.Title>;
};
export default BasicDiaryCardTitleExample;
Props
Extends basic text props.
Primary Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | required | Title content |
style | StyleProp<TextStyle> | undefined | Additional text styles |
testID | string | undefined | Test identifier |
Styling
Theme Typography Used
- Variant:
titleLarge - Font:
DMSans_700Bold