mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-29 03:45:15 +00:00
11 lines
541 B
TypeScript
11 lines
541 B
TypeScript
|
/// <reference types="react" />
|
||
|
import { SelectProps as MuiSelectProps } from '@material-ui/core/Select';
|
||
|
import { FieldProps } from 'formik';
|
||
|
export interface SelectProps extends FieldProps, Omit<MuiSelectProps, 'name' | 'value'> {
|
||
|
}
|
||
|
export declare function fieldToSelect({ disabled, field: { onBlur: fieldOnBlur, ...field }, form: { isSubmitting }, onBlur, ...props }: SelectProps): MuiSelectProps;
|
||
|
export declare function Select(props: SelectProps): JSX.Element;
|
||
|
export declare namespace Select {
|
||
|
var displayName: string;
|
||
|
}
|