// shadcn Toggle — Radix wrapper, token-styled. Building block for // ; usable standalone as a 2-state press button (e.g. // "Bold" / "Italic" formatting toggles). import { forwardRef, type ComponentPropsWithoutRef, type ComponentRef, } from 'react' import * as RT from '@radix-ui/react-toggle' import { cva, type VariantProps } from 'class-variance-authority' import { cn } from '../cn' export const toggleVariants = cva( // Base shared with shadcn's official toggle: same focus + disabled // + svg sizing tokens as