Skip to content

Commit 5457cef

Browse files
committed
update readme
1 parent 46f6536 commit 5457cef

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
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
3541
import { 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

0 commit comments

Comments
 (0)