NativeText
Text — typography primitive with semantic presets (h1, h2, body, caption, etc.).
packages/ui-native/src/components/text.tsx
Import
Subpath export:
@marktiderman/genesis-ui-nativeimport { NativeText } from "@marktiderman/genesis-ui-native";Components
Auto-generated from TypeScript source via
react-docgen-typescript.NativeText
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | NativeWind utility class string applied to the underlying Text. |
| preset | "h1" | "h2" | "h3" | "h4" | "body" | "body-sm" | "caption" | "label" | null | — | |
| ref | Ref<ReactNativeElement> | — | The underlying Text (React 19 passes `ref` as a prop). |