/** * @factory/ui — Switch (Radix `@radix-ui/react-switch` wrapper). * Radix handles the checked state machine and keyboard (Space). */ import * as React from "react"; import * as RadixSwitch from "@radix-ui/react-switch"; import { clsx } from "clsx"; export const Switch = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )); Switch.displayName = "Switch";