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
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | undefined | Title content |
style | StyleProp<TextStyle> | undefined | Additional styles |
variant | "titleLarge" | "titleLarge" | Typography variant |
testID | string | undefined | Testing identifier |
Styling
Default Styles
fontFamily: "DMSans_700Bold";
fontSize: 18;
fontWeight: "600";