File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 99
1010![ Example of currency field] ( currency_field_example.gif )
1111
12+ ## Installation
13+
14+ ``` sh
15+ # npm
16+ npm install @wertarbyte/material-ui-currency-textfield
17+
18+ # yarn
19+ yarn add @wertarbyte/material-ui-currency-textfield
20+ ```
21+
1222## Usage
1323
1424``` jsx
1525import * as React from ' react' ;
1626import Dinero from ' dinero.js' ;
17- import CurrencyTextField from ' ../lib/components/CurrencyTextField ' ;
27+ import { CurrencyTextField } from ' @wertarbyte/material-ui-currency-textfield ' ;
1828
1929export const MyComponent: React .FC = () => {
2030
@@ -60,16 +70,6 @@ export const MyComponent: React.FC = () => {
6070
6171[ iso ] : https://www.iso.org/iso-4217-currency-codes.html
6272
63- ## Installation
64-
65- ``` sh
66- # npm
67- npm install @wertarbyte/material-ui-currency-textfield
68-
69- # yarn
70- yarn add @wertarbyte/material-ui-currency-textfield
71- ```
72-
7373## Development
7474
7575### Testing
You can’t perform that action at this time.
0 commit comments