@dccs/react-formik-mui
Version:
Simple Formik <-> MaterialUI wrappers
19 lines (18 loc) • 671 B
TypeScript
/// <reference types="react" />
import { SelectProps } from "@material-ui/core/Select";
import { FormControlProps } from "@material-ui/core/FormControl";
import { FormHelperTextProps } from "@material-ui/core/FormHelperText";
interface IBaseProps {
name: string;
options: any[];
label?: string;
helperText?: string;
useField?: boolean;
formControlProps?: FormControlProps;
formHelperTextProps?: FormHelperTextProps;
fieldProps?: {};
validate?: any;
}
export declare type FormikSearchableSelectProps = IBaseProps & SelectProps;
export declare function FormikSearchableSelect(props: FormikSearchableSelectProps): JSX.Element;
export {};