import { type TextBoxProps } from '../TextBox'; /** * The props for the NumberBox component. * * `prefixSlot` and `suffixSlot` from TextBox are intentionally excluded. * NumberBox does not use these slots because: * - A unit display feature may be added in the future as a dedicated prop * - They conflict with the placement of the clear button */ export type NumberBoxProps = Omit & { /** * The callback function called when the value changes. * Receives the raw numeric string without commas. * * @default undefined */ onChange?: (value: string) => void; /** * The horizontal alignment of the input text. * * @default 'right' */ textAlign?: 'left' | 'right'; };