import { FC, Ref } from 'react'; import ReactSwitch, { ReactSwitchProps } from 'react-switch'; export declare type ToggleRef = Ref; export interface ToggleOwnProps { /** * optional label to be displayed alongside the toggle */ label?: string; /** * obtain a ref target */ ref?: ToggleRef; } export declare type ToggleProps = Omit & ToggleOwnProps; /** * Toggle components can be used to edit boolean values. Uses [react-switch](https://github.com/markusenglund/react-switch) component. * */ export declare const Toggle: FC;