import { type ReactNode } from 'react'; /** * The chip a `ChipInput` is made of: a 24px pill with an optional 16px * leading (a face, an icon), a 12px label, and the ✕ that removes it. * Exported on its own (Katerina, 2026-09-01) under a name that promises * nothing about people — a chip like this may one day hold a label, a file, * a filter. * * Inside a `ChipInput` the chip is Base UI's `Combobox.Chip` wearing these * same classes, because there it has to answer the arrow keys and Backspace * along with the input. This component is for a chip standing alone. */ export interface InputChipProps { label: string; /** Before the label, 16px — an Avatar, an icon. */ leading?: ReactNode; /** Draws the ✕; absent, the chip is display-only. */ onRemove?: () => void; /** * The ✕'s name for a screen reader. `Remove