material-ui-cordova
Version:
React components that implement Google's Material Design.
32 lines (27 loc) • 812 B
TypeScript
import * as React from 'react';
import { StandardProps } from '..';
import { MenuProps } from '../Menu';
export interface SelectInputProps extends StandardProps<{}, SelectInputClassKey> {
autoWidth: boolean;
disabled?: boolean;
native: boolean;
multiple: boolean;
MenuProps?: Partial<MenuProps>;
name?: string;
onBlur?: React.FocusEventHandler<any>;
onChange?: (event: React.ChangeEvent<{}>, child: React.ReactNode) => void,
onFocus?: React.FocusEventHandler<any>;
readOnly?: boolean;
renderValue?: Function;
selectRef?: Function;
value?: string | number | Array<string | number>;
}
export type SelectInputClassKey =
| 'root'
| 'select'
| 'selectMenu'
| 'disabled'
| 'icon'
;
declare const SelectInput: React.ComponentType<SelectInputProps>;
export default SelectInput;