You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@
19
19
20
20
```
21
21
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';
23
23
24
24
<JSONInput
25
25
id = 'a_unique_id'
@@ -72,7 +72,7 @@
72
72
| Name | Description | Type | Required |
73
73
| ------ |-------------| :-----:| :-----: |
74
74
|[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 |
76
76
|[placeholder]()| Send a valid javascript object to be shown once when component is mounted. | object | Optional |
77
77
|[viewOnly]()| Send `true` if you would like for content shown not to be editable. | boolean | Optional |
78
78
|[onChange]()| Whenever `onBlur` or `onKeyPress` events take place, it will return content values. | object | Optional |
0 commit comments