import { forwardRef } from 'react'; import type { ButtonHTMLAttributes, ReactNode } from 'react'; export interface ButtonProps extends Omit, 'className'> { /** `primary` is the INK fill — at most one per view. The accent never fills a control. */ variant?: 'primary' | 'secondary' | 'ghost'; size?: 'sm' | 'md' | 'lg'; children: ReactNode; className?: string; } export const Button = forwardRef(function Button( { variant = 'primary', size = 'md', className, type, children, ...rest }, ref, ) { return ( ); });