@dccs/react-formik-mui
Version:
Simple Formik <-> MaterialUI wrappers
21 lines (20 loc) • 710 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[];
hideRemoveSelection?: boolean;
removeSelectionText?: string;
label?: string;
useField?: boolean;
helperText?: string;
formControlProps?: FormControlProps;
formHelperTextProps?: FormHelperTextProps;
fieldProps?: {};
validate?: any;
}
export declare type FormikSelectProps = IBaseProps & SelectProps;
export declare function FormikSelect(props: FormikSelectProps): JSX.Element;
export {};