"use client"; import {mergeProps} from "@base-ui/react/merge-props"; import {Switch as BaseSwitch} from "@base-ui/react/switch"; import {useRender} from "@base-ui/react/use-render"; import * as React from "react"; import {cn} from "@/lib/utilities"; import styles from "./switch.module.css"; /** * Props for the shared switch wrapper. */ interface SwitchProps extends Omit, "className"> { /** Additional CSS classes merged with the switch root styles. @default undefined */ className?: string; } /** * Toggles between on and off states with a styled thumb control. * * @remarks * - Renders a `