Text

A customizable text component with dynamic theme-based styling.

Installation

Terminal
npx flexnative-cli add "https://registry.flexnative.com/c/text.json"

Usage


Importing
import { Text } from "@/components/ui/text";
Using
<Text style={{ fontWeight: 'bold' }}>
This is a customizable Text component.
</Text>

API

Text

A customizable text component with dynamic theme-based styling.


PropTypeDescriptionDefault
styleStyleProp<TextStyle>Additional styles for the text.-
...propsTextPropsAll props from React Native's Text component.-