Skip to main content

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.

NameTypeRequiredDefault ValueDescription
actionsbooleanfalsetrueBoolean to determinate wether to show or not increment and decrement actions.
stepnumberfalse1 Increments and decrement step.