Skip to content

Commit 0daaf0b

Browse files
committed
docs: add rtl description
1 parent 29f7ddd commit 0daaf0b

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

docs/documentation.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,3 +560,14 @@ return (
560560
/>
561561
);
562562
```
563+
564+
## RTL
565+
566+
The library supports RTL out of the box. To enable RTL mode, ensure the `<html>`
567+
tag has the `dir="rtl"` attribute.
568+
569+
```html
570+
<html lang="fa" dir="rtl">
571+
<!-- ... -->
572+
</html>
573+
```

0 commit comments

Comments
 (0)