import type { Meta, StoryObj } from '@storybook/react'; import { Separator } from './separator'; import React from 'react'; const meta: Meta = { title: 'UI/Separator', component: Separator, render: args => , argTypes: { orientation: { control: 'select', options: ['horizontal', 'vertical'], description: 'The orientation of the separator.', defaultValue: 'horizontal', }, decorative: { control: 'boolean', description: 'Whether the separator is decorative.', }, }, }; export default meta; type Story = StoryObj; export const Horizontal: Story = { render: args => (

Radix UI

An open-source UI component library.

Blog
Docs
Source
), }; export const Vertical: Story = { render: () => (
Dashboard
Settings
Help
), };