UNPKG

@uva-glass/component-library

Version:

React components UvA

14 lines (13 loc) 691 B
import { PropsWithChildren, ReactNode } from 'react'; export interface FieldsetProps { /** The description to render. */ description?: ReactNode; /** The id of the description element. Used together with the description property. */ descriptionId?: string; /** true if the form fields should render inline; otherwise, false. The default is false. */ inline?: boolean; /** The legend to render. */ legend: string; } /** Represents a component to show a collection of form field elements. */ export declare const Fieldset: ({ inline, legend, description, descriptionId, children, }: PropsWithChildren<FieldsetProps>) => import("react/jsx-runtime").JSX.Element;