TodayQuestionCard.Title
The TodayQuestionCard.Title component renders the card title with the theme primary color.
Basic Example
import { TodayQuestionCard } from "@ovok/native";
import * as React from "react";
const Example = () => (
<TodayQuestionCard.Title>Daily Check-in</TodayQuestionCard.Title>
);
export default Example;
Props
Extends TextProps<"titleMedium"> from react-native-paper.
Primary Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | undefined | Title content |
style | StyleProp<TextStyle> | undefined | Additional styles |
Styling
Theme Colors Used
theme.colors.primary: Text color
Default Styles
fontSize: 16;
fontWeight: "600";