@material-ui/core
Version:
React components that implement Google's Material Design.
28 lines (23 loc) • 750 B
TypeScript
import * as React from 'react';
import { StandardProps } from '..';
import { InputProps } from '../Input';
import { MenuProps } from '../Menu';
import { NativeSelectInputProps } from './NativeSelectInput';
export interface NativeSelectProps
extends StandardProps<InputProps, NativeSelectClassKey, 'value' | 'onChange'>,
Pick<NativeSelectInputProps, 'onChange'> {
IconComponent?: React.ReactType;
input?: React.ReactNode;
value?: string | number | boolean;
variant?: 'standard' | 'outlined' | 'filled';
}
export type NativeSelectClassKey =
| 'root'
| 'select'
| 'selectMenu'
| 'disabled'
| 'icon'
| 'filled'
| 'outlined';
declare const NativeSelect: React.ComponentType<NativeSelectProps>;
export default NativeSelect;