import { SwitchProps as MuiSwitchProps } from '@material-ui/core/Switch/Switch'; import { FC } from 'react'; import type { FieldRenderProps } from 'react-final-form'; import { FieldProps } from '../lib/Field'; declare type SwitchHTMLElement = HTMLButtonElement; export declare type SwitchProps = MuiSwitchProps & { label: string; }; export declare type SwitchBaseProps = SwitchProps & FieldRenderProps; export declare type ExposedSwitchProps = SwitchProps & FieldProps; export declare const SwitchField: FC; export default SwitchField;