NumberFormatter
This is a React component

Source
import { NumberFormatter } from "@prestojs/ui";
NumberFormatter(props)

Formats a numeric input based on user browser's locale.

If no value is provided blankLabel is returned.

If an invalid value is provided invalidValueLabel is returned.

This is the default formatter used for NumberField, DecimalField, CurrencyField, FloatField and IntegerField

ParameterTypeDescription
*propsNumberFormatterProps

Examples