UNPKG

@dccs/react-autocomplete-mui

Version:
85 lines (84 loc) 2.55 kB
/// <reference types="react" /> import { SwitchProps } from "@material-ui/core/Switch"; export interface IFormikSwitchProps { name: string; label?: string; helperText?: string; error?: boolean; formControlLabelProps?: any; switchProps?: SwitchProps; fastFieldProps?: any; } export declare function FormikSwitch(props: IFormikSwitchProps): JSX.Element; export declare namespace FormikSwitch { var displayName: string; var __docgenInfo: { "description": string; "displayName": string; "props": { "name": { "defaultValue": null; "description": string; "name": string; "required": boolean; "type": { "name": string; }; }; "label": { "defaultValue": null; "description": string; "name": string; "required": boolean; "type": { "name": string; }; }; "helperText": { "defaultValue": null; "description": string; "name": string; "required": boolean; "type": { "name": string; }; }; "error": { "defaultValue": null; "description": string; "name": string; "required": boolean; "type": { "name": string; }; }; "formControlLabelProps": { "defaultValue": null; "description": string; "name": string; "required": boolean; "type": { "name": string; }; }; "switchProps": { "defaultValue": null; "description": string; "name": string; "required": boolean; "type": { "name": string; }; }; "fastFieldProps": { "defaultValue": null; "description": string; "name": string; "required": boolean; "type": { "name": string; }; }; }; }; }