Skip to main content

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

PropTypeDefaultDescription
childrenReactNoderequiredTitle content
styleStyleProp<TextStyle>undefinedAdditional text styles
testIDstringundefinedTest identifier

Styling

Theme Typography Used

  • Variant: titleLarge
  • Font: DMSans_700Bold