'use client'; import * as React from 'react'; import { Switch as SwitchPrimitive } from 'radix-ui'; import { cn } from '@/lib/utils'; import { disabledField, focusRing } from '@/lib/cva-presets'; export interface SwitchProps extends React.ComponentProps { size?: 'sm' | 'md'; } /** * On/off toggle that applies immediately. * * Use it for settings that take effect on change; if the choice only takes * effect after a Save button, use a Checkbox instead. */ function Switch({ className, size = 'md', ...props }: SwitchProps) { return ( ); } export { Switch };