UNPKG

@atlaskit/form

Version:

A form allows people to input information.

28 lines (27 loc) 878 B
/** * @jsxRuntime classic * @jsx jsx */ import { type ReactNode } from 'react'; interface FieldsetProps { /** * Content to render in the fieldset. */ children: ReactNode; /** * Label describing the contents of the fieldset. */ legend?: ReactNode; } /** * __Fieldset__ * * A fieldset groups a number of fields together. For example, when multiple CheckboxFields share the same name, * a fieldset can be used to group them together. This makes the form more accessible. * * - [Examples](https://atlaskit.atlassian.com/packages/design-system/form/docs/fields) * - [Code](https://atlaskit.atlassian.com/packages/design-system/form/docs/fields) * - [Usage](https://atlaskit.atlassian.com/packages/design-system/form/docs/fields) */ declare const Fieldset: ({ children, legend }: FieldsetProps) => JSX.Element; export default Fieldset;