import { Meta, StoryObj } from '@storybook/react'; import { Select } from '../..'; import { CaretCircleDown } from '@phosphor-icons/react'; const meta: Meta = { title: 'HTML-Like Component/Select', component: Select, tags: ['autodocs'], parameters: { layout: 'centered', }, argTypes: { size: { control: { type: 'inline-radio', }, options: ['small', 'medium', 'large'], }, width: { control: { type: 'text', }, }, disabled: { control: { type: 'boolean', }, }, }, args: { size: 'medium', disabled: false, width: '100%', children: ( <> ), }, }; export default meta; type Story = StoryObj; export const Primary: Story = { args: { placeholder: 'Select', }, }; export const WithSuffix: Story = { args: { placeholder: 'Select', suffix: , }, }; export const Label: Story = { args: { placeholder: 'Select', label: 'Select Label', }, }; export const Error: Story = { args: { placeholder: 'Select', error: 'Error Description', }, };