import type { Meta, StoryObj } from '@storybook/react'; import { ScrollArea } from './scroll-area'; const meta = { title: 'UI/ScrollArea', component: ScrollArea, tags: ['autodocs'], args: { className: 'min-h-50 w-96 rounded-md border p-4', } } satisfies Meta; export default meta; type Story = StoryObj; export const Default: Story = { render: (args) => (

Tags

{Array.from({ length: 50 }).map((_, i, a) => (
Tag {a.length - i}
{i !== a.length - 1 &&
}
))} ), };