Type: Function

How to get NumberInput?


import { NumberInput } from 'fds/components';

Renders an input field, only allowing numeric values. Additionally the value will be rounded automatically based on the specified maximum number of decimals.

Note: this component will automatically round input values to the configured numberOfDecimals and clamp it between -9007199254741 (about -9 trillion) and 9007199254741 (about 9 trillion). This happens when the user loses focus on the input field.