UNPKG

@intility/bifrost-react

Version:

React library for Intility's design system, Bifrost.

10 lines (9 loc) 405 B
import Checkbox from "../Checkbox/Checkbox.js"; export type SwitchProps = Omit<React.ComponentProps<typeof Checkbox>, "type" | "indeterminate" | "ref">; /** * Alias for `<Checkbox type="switch">` * * @see https://bifrost.intility.com/react/switch */ declare const Switch: import("react").ForwardRefExoticComponent<SwitchProps & import("react").RefAttributes<HTMLInputElement>>; export default Switch;