UNPKG

@material-ui/core

Version:

React components that implement Google's Material Design.

29 lines (24 loc) 733 B
import * as React from 'react'; import { StandardProps } from '..'; import { InputProps } from '../Input'; import { NativeSelectInputProps } from './NativeSelectInput'; export interface NativeSelectProps extends StandardProps<InputProps, NativeSelectClassKey, 'value' | 'onChange'>, Pick<NativeSelectInputProps, 'onChange'> { IconComponent?: React.ElementType; input?: React.ReactNode; value?: unknown; variant?: 'standard' | 'outlined' | 'filled'; } export type NativeSelectClassKey = | 'root' | 'select' | 'filled' | 'outlined' | 'selectMenu' | 'disabled' | 'icon' | 'iconFilled' | 'iconOutlined'; declare const NativeSelect: React.ComponentType<NativeSelectProps>; export default NativeSelect;