@utrecht/component-library-react
Version:
React component library bundle for the Municipality of Utrecht based on the NL Design System architecture
21 lines • 878 B
TypeScript
import { OptionHTMLAttributes, SelectHTMLAttributes } from 'react';
export interface SelectProps extends SelectHTMLAttributes<HTMLSelectElement> {
busy?: boolean;
invalid?: boolean;
/**
* `noscript`: Don't let it affect CSS :invalid
*/
noscript?: boolean;
}
export declare const Select: import("react").ForwardRefExoticComponent<SelectProps & {
children?: import("react").ReactNode | undefined;
} & import("react").RefAttributes<HTMLSelectElement>>;
export interface SelectOptionProps extends OptionHTMLAttributes<HTMLOptionElement> {
disabled?: boolean;
invalid?: boolean;
value?: string;
}
export declare const SelectOption: import("react").ForwardRefExoticComponent<SelectOptionProps & {
children?: import("react").ReactNode | undefined;
} & import("react").RefAttributes<HTMLOptionElement>>;
//# sourceMappingURL=Select.d.ts.map