NumberFieldProps
NumberFieldProps =
BaseFieldProps&object
Defined in: packages/ui/src/types.ts:726
Props for the NumberField read-only display component.
Formats numbers using Intl.NumberFormat with optional currency and decimal
precision. Used by DataTableProps cell renderers for numeric columns.
Type Declaration
Section titled “Type Declaration”currency?
Section titled “currency?”
optionalcurrency:string
ISO 4217 currency code for monetary formatting (e.g. “USD”).
decimals?
Section titled “decimals?”
optionaldecimals:number
Number of decimal places to display.
locale?
Section titled “locale?”
optionallocale:string
Locale for number formatting. Defaults to “en”.
value:
unknown
Numeric value to display. Accepts numbers or unknown values.
BaseFieldProps for inherited label and className props.