A provider component that sets the text direction for your application.
Default: ltr
direction=rtl: rtl
Nested dir=ltr: ltr
Installation
Every component ships in @astrawind/ui. If you haven't set it up, follow the installation guide, then import the component:
npx expo install @astrawind/ui @astrawind/css lucide-react-native react-native-svg
Usage
import { DirectionProvider } from "@astrawind/ui/direction"
See the Code tab above for a complete example.