import { forwardRef, type ComponentPropsWithoutRef } from 'react'; import { cx } from '../utils'; import type { BtnVariant } from '../button'; type IconButtonProps = ComponentPropsWithoutRef<'button'> & { variant?: BtnVariant; size?: 'sm' | 'lg'; }; export const IconButton = forwardRef( ({ variant = 'key', size, className, ...props }, ref) => (