UNPKG

react-box-tools

Version:

Box tools react components, utils and hooks

15 lines (11 loc) 470 B
import { DetailedHTMLProps } from 'react'; import { InputHTMLAttributes } from 'react'; import { JSX } from 'react/jsx-runtime'; export declare const Switch: (props: SwitchProps) => JSX.Element; export declare type SwitchProps = Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, 'placeholder' | 'type'> & { on?: boolean; ripple?: boolean; flat?: boolean; onChange?: (value: boolean) => void; }; export { }