File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 1- A react component for editing/formating
2- > react-numeric is a wrapper component of [ autonumeric] ( https://github.com/autoNumeric/autoNumeric ) .
1+ # react-numeric
2+
3+ [ ![ npm] ( https://img.shields.io/npm/l/react-numeric.svg?style=flat-square )] ( )
4+ [ ![ npm] ( https://img.shields.io/npm/v/react-numeric.svg?style=flat-square )] ( https://www.npmjs.com/package/react-numeric )
5+
6+
7+ A react component for formatted number form fields
8+ > react-numeric is a wrapper component for [ autonumeric] ( https://github.com/autoNumeric/autoNumeric ) .
39
410## Installition
511
@@ -34,7 +40,7 @@ export function USDMoneyInput(props){
3440// You can use predefinedOptions
3541import { predefinedOptions } from ' react-numeric' ;
3642
37- export function USDMoneyInput (props ){
43+ export function PossitiveUSDMoneyInput (props ){
3844 const { value } = props; // number typed
3945 return (
4046 < ReactNumeric
@@ -46,7 +52,7 @@ export function USDMoneyInput(props){
4652}
4753
4854// if you want to store value as string typed
49- export function USDMoneyInput (props ){
55+ export function NumberInput (props ){
5056 const { value } = props; // string typed
5157 return (
5258 < ReactNumeric
You can’t perform that action at this time.
0 commit comments