import { StoryObj, Meta } from '@storybook/react'; import { Steps } from 'components/shared/Steps'; const meta: Meta = { title: 'Components/Steps', component: Steps, tags: ['autodocs'], argTypes: { orientation: { control: 'radio', options: ['horizontal', 'vertical'], }, currentIndex: { control: 'number', }, steps: { control: 'object', }, }, }; export default meta; type Story = StoryObj; export const Default: Story = { render: ({ orientation, currentIndex, steps }) => ( ), args: { currentIndex: 0, steps: [ { label: 'Create repository', }, { label: 'Deploy', }, { label: `What's next?`, }, ], }, }; export const Horizontal: Story = { render: ({ orientation, currentIndex, steps }) => ( ), args: { currentIndex: 0, steps: [ { label: 'Create repository', }, { label: 'Deploy', }, { label: `What's next?`, }, ], orientation: 'horizontal', }, };