Numeric Text Box
FlexNative Numeric Text Box is part of the @flexnative/inputs package.
To use the FlexNative Numeric Text Box you needs to install @flexnative/inputs
package.
Fallow this link on how to install the package.
API
import { NumericTextBox } from '@flexnative/inputs';
Component
NumericTextBox
Type: React.PureComponent<NumberTextBoxProps<T>>
Properties
info
NumberTextBoxProps
props extends TextInputProps
so any TextInputProps
is applicable also in NumberTextBox component.
Name | Type | Required | Default Value | Description |
---|---|---|---|---|
actions | boolean | false | true | Boolean to determinate wether to show or not increment and decrement actions. |
step | number | false | 1 | Increments and decrement step. |
📄️ Default
The following examples demonstrates the Numeric Text Boxes in action.
📄️ Material
The following examples demonstrates the Numeric Text Boxes in action.