UNPKG

@amsterdam/design-system-react

Version:

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

23 lines (22 loc) 1.1 kB
/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { PropsWithChildren, SelectHTMLAttributes } from 'react'; export type SelectProps = { /** Whether the value fails a validation rule. */ invalid?: boolean; } & PropsWithChildren<Omit<SelectHTMLAttributes<HTMLSelectElement>, 'aria-invalid'>>; export declare const Select: import("react").ForwardRefExoticComponent<{ /** Whether the value fails a validation rule. */ invalid?: boolean; } & Omit<SelectHTMLAttributes<HTMLSelectElement>, "aria-invalid"> & { children?: import("react").ReactNode | undefined; } & import("react").RefAttributes<HTMLSelectElement>> & { Group: import("react").ForwardRefExoticComponent<import("./SelectOptionGroup").SelectOptionGroupProps & { children?: import("react").ReactNode | undefined; } & import("react").RefAttributes<HTMLOptGroupElement>>; Option: import("react").ForwardRefExoticComponent<import("./SelectOption").SelectOptionProps & { children?: import("react").ReactNode | undefined; } & import("react").RefAttributes<HTMLOptionElement>>; };