@commercetools-uikit/money-input 12.2.2 → 12.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -30,7 +30,6 @@ npm --save install react react-dom react-intl
|
|
|
30
30
|
## Usage
|
|
31
31
|
|
|
32
32
|
```jsx
|
|
33
|
-
import React from 'react';
|
|
34
33
|
import MoneyInput from '@commercetools-uikit/money-input';
|
|
35
34
|
|
|
36
35
|
const Example = () => (
|
|
@@ -172,7 +171,6 @@ MoneyInput.isHighPrecision({ amount: '', currencyCode: 'EUR' }, 'en'); // -> thr
|
|
|
172
171
|
Here's an example of how `MoneyInput` would be used inside a form.
|
|
173
172
|
|
|
174
173
|
```jsx
|
|
175
|
-
import React from 'react';
|
|
176
174
|
import { IntlProvider } from 'react-intl';
|
|
177
175
|
import { Formik } from 'formik';
|
|
178
176
|
import omitEmpty from 'omit-empty-es';
|