Skip to content

Commit

Permalink
fix: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
saschb2b committed Aug 22, 2024
1 parent c0a98f9 commit c5af0ac
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,22 @@

![Example of currency field](currency_field_example.gif)

## Installation

```sh
# npm
npm install @wertarbyte/material-ui-currency-textfield

# yarn
yarn add @wertarbyte/material-ui-currency-textfield
```

## Usage

```jsx
import * as React from 'react';
import Dinero from 'dinero.js';
import CurrencyTextField from '../lib/components/CurrencyTextField';
import { CurrencyTextField } from '@wertarbyte/material-ui-currency-textfield';

export const MyComponent: React.FC = () => {

Expand Down Expand Up @@ -60,16 +70,6 @@ export const MyComponent: React.FC = () => {

[iso]: https://www.iso.org/iso-4217-currency-codes.html

## Installation

```sh
# npm
npm install @wertarbyte/material-ui-currency-textfield

# yarn
yarn add @wertarbyte/material-ui-currency-textfield
```

## Development

### Testing
Expand Down

0 comments on commit c5af0ac

Please sign in to comment.