UNPKG

@amsterdam/design-system-react

Version:

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

16 lines (15 loc) 603 B
/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { HTMLAttributes, PropsWithChildren } from 'react'; export type FieldProps = { /** Whether the field has an input with a validation error */ invalid?: boolean; } & PropsWithChildren<HTMLAttributes<HTMLDivElement>>; export declare const Field: import("react").ForwardRefExoticComponent<{ /** Whether the field has an input with a validation error */ invalid?: boolean; } & HTMLAttributes<HTMLDivElement> & { children?: import("react").ReactNode | undefined; } & import("react").RefAttributes<HTMLDivElement>>;