Skip to main content

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​

PropTypeDefaultDescription
childrenReactNodeundefinedTitle content
styleStyleProp<TextStyle>undefinedAdditional styles

Styling​

Theme Colors Used​

  • theme.colors.primary: Text color

Default Styles​

fontSize: 16;
fontWeight: "600";