import React from 'react'; import Div from '../Element/Div/Div'; import { CreateProps } from '../../types/utils/CreateProps'; declare type SwitchProps = CreateProps<{ /** If the Switch is on or off */ isOn: boolean; /** Label of the Switch */ label: string; /** Additional description for the Switch */ description?: string; /** Additional description for the Switch */ onChange: (value: boolean) => void; }, typeof Div, 'borderRadius' | 'backgroundColor' | 'color' | 'hoverColor' | 'backgroundHoverColor' | 'fontWeight'>; declare const Switch: React.FunctionComponent; export default Switch;