fix: handle RTL direction divider storybook (#2483) (#2484)

This commit is contained in:
Mohammad Reza Badri 2024-04-16 03:51:15 +03:30 committed by GitHub
parent af877f7ddb
commit 9873c6fb83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,7 +35,7 @@ const Template = (args: DividerProps) => (
<p className="text-sm text-default-400">Beautiful, fast and modern React UI library.</p> <p className="text-sm text-default-400">Beautiful, fast and modern React UI library.</p>
</div> </div>
<Divider className="my-4" /> <Divider className="my-4" />
<div className="flex h-5 items-center space-x-4 text-sm"> <div className="flex h-5 items-center space-x-4 rtl:space-x-reverse text-sm">
<div>Blog</div> <div>Blog</div>
<Divider {...args} orientation="vertical" /> <Divider {...args} orientation="vertical" />
<div>Docs</div> <div>Docs</div>