ThemedText
A text component that automatically adapts to light and dark mode.
ThemedText
A wrapper around React Native's Text component that automatically applies the correct text color based on the current theme.
Import
Features
- Automatic light/dark mode text color adaptation
- Extends all React Native Text props
- Works with Tailwind CSS classes
- Simple drop-in replacement for Text component
Props
| Prop | Type | Default | Description | 
|---|---|---|---|
| children | React.ReactNode | Required | Text content | 
| className | string | '' | Additional Tailwind classes | 
| ...props | TextProps | — | All React Native Text props |