Skip to content

Commit 813c917

Browse files
authored
Update README.md
1 parent f4b370c commit 813c917

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,13 @@ $ npm i --save ra-input-json
1616

1717
## Usage
1818

19-
```python
19+
```javascript
2020
import { JSONEditor, JSONEView } from 'ra-input-json';
2121

22-
In List component use JSONEView component.
23-
#Example:
24-
<JSONEView source="your source name" label="your label name"/>
22+
// In List component use JSONEView component.
23+
<JSONEView source="your source name" label="your label name" />
2524

26-
In Form component such as SimpleForm use JSONEditor component.
27-
#Example:
25+
// In Form component such as SimpleForm use JSONEditor component.
2826
<JSONEView source="your source name" label="your label name"/>
2927
```
3028
## Component Properties

0 commit comments

Comments
 (0)