import { forwardRef } from 'react'; import type { ButtonHTMLAttributes, ReactNode } from 'react'; export interface ButtonProps extends Omit, 'className'> { /** * The pill triad, and there is no fourth: `primary` is the solid accent, * `secondary` the accent-outline on the field, `ghost` the beige pill that * sits on photography. */ 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 ( ); });