File: /var/www/design.system/src/molecules/Inputs/Select/Select.stories.tsx
import { Meta, StoryObj } from '@storybook/react';
import Select from './Select.tsx';
const meta: Meta<typeof Select> = {
component: Select,
title: 'Molecules/Inputs/Select',
tags: ['autodocs'],
};
export default meta;
type Story = StoryObj<typeof Select>;
export const Default: Story = {
args: {
label: 'Label',
placeholder: 'Value',
},
};
export const Disabled: Story = {
args: {
label: 'Label',
placeholder: 'Value',
disabled: true,
},
};
export const Error: Story = {
args: {
label: 'Label',
placeholder: 'Value',
status: 'error',
},
};