Skip to content

Commit c5af0ac

Browse files
committed
fix: readme
1 parent c0a98f9 commit c5af0ac

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,22 @@
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
1525
import * as React from 'react';
1626
import Dinero from 'dinero.js';
17-
import CurrencyTextField from '../lib/components/CurrencyTextField';
27+
import { CurrencyTextField } from '@wertarbyte/material-ui-currency-textfield';
1828

1929
export 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

0 commit comments

Comments
 (0)