TodayQuestionCard.Gradient
The TodayQuestionCard.Gradient component provides a gradient background using expo-linear-gradient for visually appealing daily prompts.
- Stable unknown
- Release candidate since 1.16.1-rc.3
- Development since 1.16.1-dev.2111+9796905
The TodayQuestionCard.Gradient component provides a gradient background using expo-linear-gradient for visually appealing daily prompts.
Basic Example
import { TodayQuestionCard } from "@ovok/native";
import * as React from "react";
const Example = () => (
<TodayQuestionCard.Gradient
colors={["#667eea", "#764ba2", "#f093fb", "#f5576c", "#4facfe"]}
style={{
height: 70,
}}
/>
);
export default Example;Props
Every prop, with its type and description, is listed in the @ovok/native/journal API reference.
Related Components
Last updated on