Utilities
Installation
CLI
Manual
Install the following dependencies:
Copy and paste the following code into your project.
Usage
API Reference
DirectionProvider
Manages direction context for the useDirection
hook.
Prop | Type | Default |
---|---|---|
dir | "ltr" | "rtl" | "ltr" |
useDirection
A hook to access the current direction.