Skip to main content

PastJournalCard.Title

The PastJournalCard.Title component renders the title text for a past journal entry with appropriate typography and weight.

Basic Example

import { PastJournalCard } from "@ovok/native";
import * as React from "react";

const Example = () => (
<PastJournalCard.Title>Past Journal</PastJournalCard.Title>
);

export default Example;

Props

Extends TextProps<"titleLarge"> from react-native-paper.

Primary Props

PropTypeDefaultDescription
childrenReactNodeundefinedTitle content
styleStyleProp<TextStyle>undefinedAdditional styles
variant"titleLarge""titleLarge"Typography variant
testIDstringundefinedTesting identifier

Styling

Default Styles

fontFamily: "DMSans_700Bold";
fontSize: 18;
fontWeight: "600";