UNPKG

@dccs/react-formik-mui

Version:
21 lines (20 loc) 817 B
import * as React from "react"; import { CheckboxProps } from "@material-ui/core/Checkbox"; import { FormHelperTextProps } from "@material-ui/core/FormHelperText"; import { FormControlLabelProps } from "@material-ui/core/FormControlLabel"; import { FormControlProps } from "@material-ui/core/FormControl"; interface IBaseProps { name: string; label?: React.ReactNode; helperText?: string; error?: boolean; useField?: boolean; formControlLabelProps?: Omit<FormControlLabelProps, "control" | "label">; formHelperTextProps?: FormHelperTextProps; formControlProps?: FormControlProps; fieldProps?: {}; validate?: any; } export declare type FormikCheckboxProps = IBaseProps & CheckboxProps; export declare function FormikCheckbox(props: FormikCheckboxProps): JSX.Element; export {};