UNPKG

@dccs/react-formik-mui

Version:
21 lines (20 loc) 796 B
/// <reference types="react" /> import { FormControlLabelProps } from "@material-ui/core/FormControlLabel"; import { FormHelperTextProps } from "@material-ui/core/FormHelperText"; import { FormControlProps } from "@material-ui/core/FormControl"; import { SliderProps } from "@material-ui/core/Slider"; interface IBaseProps { name: string; label?: string; helperText?: string; error?: boolean; useField?: boolean; formControlLabelProps?: Omit<FormControlLabelProps, "control" | "label">; formHelperTextProps?: FormHelperTextProps; formControlProps?: FormControlProps; fieldProps?: {}; validate?: any; } export declare type FormikSliderProps = IBaseProps & SliderProps; export declare function FormikSlider(props: FormikSliderProps): JSX.Element; export {};