{"version":3,"file":"Fieldset.cjs","sources":["../../../src/components/Fieldset/Fieldset.tsx"],"sourcesContent":["import { ActualFormControl } from '../FormControl'\n\nimport type { ComponentProps, FC, ReactNode } from 'react'\n\ntype FormControlType = ComponentProps<typeof ActualFormControl>\n\nexport const Fieldset: FC<\n  Omit<FormControlType, 'as' | 'label'> & {\n    legend: Omit<Exclude<FormControlType['label'], ReactNode>, 'htmlFor'> | ReactNode\n  }\n> = ({ legend, ...rest }) => <ActualFormControl {...rest} label={legend} as=\"fieldset\" />\n"],"names":["_jsx","ActualFormControl"],"mappings":";;;;;AAMO,MAAM,QAAQ,GAIjB,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,KAAKA,cAAA,CAACC,oDAAiB,EAAA,EAAA,GAAK,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAC,UAAU,EAAA;;;;"}