Skip to content

Commit 7f6f156

Browse files
committed
jsx react fix + rollup external + small README change + React update dev dep
1 parent 51e8412 commit 7f6f156

File tree

5 files changed

+97
-193
lines changed

5 files changed

+97
-193
lines changed

README.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,29 +24,13 @@ The library react-json-grid provides the React component JSONGrid, which is a us
2424

2525
## Install
2626

27-
Run either one in your React project directory:
27+
Run the following command in your React project directory:
2828

2929
```bash
3030
npm install @redheadphone/react-json-grid
3131
```
3232

33-
```bash
34-
yarn add @redheadphone/react-json-grid
35-
```
36-
37-
### CDN
38-
39-
You can also include the library directly via CDN:
40-
41-
```html
42-
<script src="https://unpkg.com/@redheadphone/react-json-grid@{version}/dist/index.umd.js"></script>
43-
```
44-
45-
Replace {version} with the desired version number, like 0.6.0. Then, use the component as follows:
46-
47-
```jsx
48-
const JSONGrid = window['react-json-grid'];
49-
```
33+
You can also use other package managers like `yarn` or `pnpm`, if preferred.
5034

5135
## Usage
5236

0 commit comments

Comments
 (0)