Skip to content

Commit 146f94d

Browse files
author
Patrick Sachs
authored
Merge pull request AndrewRedican#36 from jtcurr/readme-fix
Fixed locale filepath in README
2 parents 8f83653 + 0cf207e commit 146f94d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
```
2121
import JSONInput from 'react-json-editor-ajrm';
22-
import locale from 'react-json-editor-ajrm/dist/locale/en';
22+
import locale from 'react-json-editor-ajrm/locale/en';
2323
2424
<JSONInput
2525
id = 'a_unique_id'
@@ -72,7 +72,7 @@
7272
| Name | Description | Type | Required |
7373
| ------ |-------------| :-----:| :-----: |
7474
| [id]() | A unique id to identify component. | string | Mandatory |
75-
| [locale]() | The locale of your editor. Import locales like this: `import locale from 'react-json-editor-ajrm/dist/locale/en'`. [Learn More](https://github.com/AndrewRedican/react-json-editor-ajrm/wiki/Locale-Support) | object | Mandatory |
75+
| [locale]() | The locale of your editor. Import locales like this: `import locale from 'react-json-editor-ajrm/locale/en'`. [Learn More](https://github.com/AndrewRedican/react-json-editor-ajrm/wiki/Locale-Support) | object | Mandatory |
7676
| [placeholder]() | Send a valid javascript object to be shown once when component is mounted. | object | Optional |
7777
| [viewOnly]() | Send `true` if you would like for content shown not to be editable. | boolean | Optional |
7878
| [onChange]() | Whenever `onBlur` or `onKeyPress` events take place, it will return content values. | object | Optional |

0 commit comments

Comments
 (0)