UNPKG

@amsterdam/design-system-react

Version:

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

19 lines (18 loc) 737 B
/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { HTMLAttributes, PropsWithChildren } from 'react'; export type FieldProps = PropsWithChildren<HTMLAttributes<HTMLDivElement>> & { /** Whether the field has an input with a validation error */ invalid?: boolean; }; /** * @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-field--docs Field docs at Amsterdam Design System} */ export declare const Field: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & { children?: import("react").ReactNode | undefined; } & { /** Whether the field has an input with a validation error */ invalid?: boolean; } & import("react").RefAttributes<HTMLDivElement>>;