@postenbring/hedwig-react
Version:
React components for [Hedwig Design System](https://github.com/bring/hedwig-design-system).
1 lines • 859 B
Source Map (JSON)
{"version":3,"sources":["../src/form/fieldset/fieldset-description.tsx"],"sourcesContent":["import { forwardRef, type HTMLAttributes } from \"react\";\n\nexport type FieldsetDescriptionProps = HTMLAttributes<HTMLParagraphElement>;\n\n/**\n * FieldsetDescription component, used to display a description for a fieldset.\n *\n * @example\n * <FieldsetDescription>\n * Gi en kort beskrivelse i begge feltene\n * </FieldsetDescription>\n */\nexport const FieldsetDescription = forwardRef<HTMLParagraphElement, FieldsetDescriptionProps>(\n function FieldsetDescription(rest, ref) {\n return <p className=\"hds-fieldset__description\" ref={ref} {...rest} />;\n },\n);\n"],"mappings":";;;;;AAAA,SAAS,kBAAuC;AAcrC;AAFJ,IAAM,sBAAsB;AAAA,EACjC,SAASA,qBAAoB,MAAM,KAAK;AACtC,WAAO,oBAAC,sBAAE,WAAU,6BAA4B,OAAc,KAAM;AAAA,EACtE;AACF;","names":["FieldsetDescription"]}