React Native tier
RnText
React Native text in the type scale.
iOSReact Native TextAndroidReact Native TextReact Native tier — renders anywhere


Import
ts
import {RnText} from '@hzblj/kara-ui'Props
React Native's Text in a theme typography variant — the React Native tier, for text outside a native host.
Also takes React Native’s RNTextProps without 'style'.
| Prop | Type | Default | Description |
|---|---|---|---|
| align | 'center' | 'left' | 'right' | — | Horizontal alignment, as React Native's |
| color | ColorToken | 'content.primary' | The text's colour. |
| variant | TextVariant | 'body' | The typography variant. |
align
'center' | 'left' | 'right'Horizontal alignment, as React Native's textAlign.
Platform notes
- The same variants and colours as
Text, for text outside a native host. It takes every React NativeTextprop.

