import React from 'react' import type { Meta, StoryFn, StoryObj } from '@storybook/react' import { ListItem } from '~/src/components/ListItem' import { Stack } from '~/src/components/Stack' import { Divider } from './Divider' import { type DividerProps } from './Divider.types' const meta = { component: Divider, argTypes: { orientation: { control: { type: 'radio', }, options: ['horizontal', 'vertical'], }, withoutSideIndent: { control: { type: 'boolean', }, }, withoutParallelIndent: { control: { type: 'boolean', }, }, withoutIndent: { control: { type: 'boolean', }, }, }, } satisfies Meta export default meta const Template: StoryFn = (props) => ( ) export const Primary: StoryObj = { render: Template, args: { orientation: 'horizontal', }, } const CompositionTemplate: StoryFn = ({ orientation, ...rest }) => ( ) export const Composition: StoryObj = { render: CompositionTemplate, args: { orientation: 'horizontal', }, }