Wraps your app to provide global reading direction.
Enables all primitives to inherit global reading direction.
Import the component.
When creating localized apps that require right-to-left (RTL) reading direction, you need to wrap your application with the Direction.Provider component to ensure all of the primitives adjust their behavior based on the dir prop.
Use the direction provider.