import type { ComponentMeta, ComponentStory } from '@storybook/react'; import { Fieldset } from '../fieldset'; import { Legend as LegendComponent } from './legend'; /** * Legend - Storybook Meta */ export default { title: 'Atoms/Forms', component: LegendComponent, args: {}, argTypes: {}, } as ComponentMeta; const Template: ComponentStory = (args) => (
); /** * Legend Story */ export const Legend = Template.bind({}); Legend.args = { children: 'A fieldset legend', };