import { Meta, StoryObj } from '@storybook/react'; import { Select } from './select'; type Type = typeof Select; type Story = StoryObj; const meta: Meta = { title: 'Select', component: Select, args: { options: [ { label: 'Option 1', value: 'option-1' }, { label: 'Option 2', value: 'option-2' }, { label: 'Option 3', value: 'option-3' }, ], }, }; const Default: Story = { args: {}, }; const Label: Story = { args: { label: 'Label' }, }; const DefaultError: Story = { args: { error: 'Error Message' }, }; const LabelError: Story = { args: { label: 'Label', error: 'Error Message' }, }; export default meta; export { Default, Label, DefaultError, LabelError };