import React from "react"; import { SwitchProps as MDCSwitchProps } from "@material/react-switch"; import { ColorSpecifier } from "../../theme/theme"; export interface SwitchProps extends Omit { id?: string; color?: ColorSpecifier; label?: string; className?: string; checked?: boolean; disabled?: boolean; onChange?: (e: React.FormEvent) => void; } declare const Switch: { ({ id, label, color, className, ...rest }: SwitchProps): React.JSX.Element; displayName: string; }; export default Switch;