UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

21 lines (20 loc) 862 B
import { BoxProps, ElementProps, Factory, StylesApiProps } from '../../core'; import { ComboboxData } from '../Combobox'; import { __BaseInputProps, __InputStylesNames } from '../Input'; export interface NativeSelectProps extends BoxProps, Omit<__BaseInputProps, 'pointer'>, StylesApiProps<NativeSelectFactory>, ElementProps<'select', 'size'> { /** * Data used to render options. Accepts strings, objects with label/value, * or grouped options. If `children` prop is provided, `data` will be ignored. */ data?: ComboboxData; } export type NativeSelectFactory = Factory<{ props: NativeSelectProps; ref: HTMLSelectElement; stylesNames: __InputStylesNames; }>; export declare const NativeSelect: import("../..").MantineComponent<{ props: NativeSelectProps; ref: HTMLSelectElement; stylesNames: __InputStylesNames; }>;