"use client"; import * as React from "react"; import { cn } from "@/lib/utils"; interface SwitchProps extends Omit< React.ButtonHTMLAttributes, "onChange" > { checked?: boolean; onCheckedChange?: (checked: boolean) => void; } /** * iOS-style switch built on a native ), ); Switch.displayName = "Switch"; export { Switch };