import type { Meta, StoryObj } from '@storybook/react-vite'; import { Input } from './input'; import { Label } from '../label/label'; const meta = { title: 'Components/Input', component: Input, parameters: { layout: 'centered', docs: { description: { component: 'Single-line text field. The error treatment is driven by `aria-invalid`, so what is shown always matches what assistive technology reports.', }, }, }, tags: ['autodocs'], args: { placeholder: 'name@example.com' }, decorators: [(Story) =>