UNPKG

@amsterdam/design-system-react

Version:

All React components from the Amsterdam Design System. Use it to compose pages in your website or application.

24 lines (23 loc) 874 B
/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { HTMLAttributes, PropsWithChildren } from 'react'; import { HintProps } from '../Hint'; export type FieldSetProps = PropsWithChildren<HTMLAttributes<HTMLFieldSetElement>> & { /** Whether the field set has an input with a validation error */ invalid?: boolean; /** The text for the caption. */ legend: string; } & HintProps; export declare const FieldSet: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLFieldSetElement> & { children?: import("react").ReactNode | undefined; } & { /** Whether the field set has an input with a validation error */ invalid?: boolean; /** The text for the caption. */ legend: string; } & HTMLAttributes<HTMLElement> & { hint?: string; optional?: boolean; } & import("react").RefAttributes<HTMLFieldSetElement>>;