UNPKG

lightswind

Version:

A collection of beautifully crafted React Components, Blocks & Templates for Modern Developers. Create stunning web applications effortlessly by using our 160+ professional and animated react components.

11 lines (10 loc) 449 B
import * as React from "react"; export interface SwitchProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> { onCheckedChange?: (checked: boolean) => void; size?: "sm" | "md" | "lg"; thumbColor?: string; trackColor?: string; animation?: "smooth" | "bounce" | "slide"; } declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLInputElement>>; export { Switch };