canvasxpress-react 62.2.0 → 62.4.5
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 +10 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -16,15 +16,15 @@ Step-By-Step instructions
|
|
|
16
16
|
|
|
17
17
|
1- Create a React App
|
|
18
18
|
|
|
19
|
-
Refer to documentation on <a href="https://reactjs.org/docs/create-a-new-react-app.html">Creating a New React App</a> for more info.
|
|
19
|
+
  Refer to documentation on <a href="https://reactjs.org/docs/create-a-new-react-app.html">Creating a New React App</a> for more info.
|
|
20
20
|
|
|
21
21
|
2- Install canvasxpress-react
|
|
22
22
|
|
|
23
|
-
See above!
|
|
23
|
+
  See the above [Installation](https://github.com/neuhausi/canvasxpress-react/edit/master/README.md#installation) section!
|
|
24
24
|
|
|
25
25
|
3- Import CanvasXpress React Component
|
|
26
26
|
|
|
27
|
-
Add the following code to your app.
|
|
27
|
+
  Add the following code to your app eg, `index.js`.
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
30
|
import React from 'react';
|
|
@@ -62,6 +62,13 @@ var reactapp = document.createElement("div");
|
|
|
62
62
|
document.body.appendChild(reactapp);
|
|
63
63
|
ReactDOM.render(<Bar />, reactapp)
|
|
64
64
|
```
|
|
65
|
+
Alternative Used
|
|
66
|
+
-----------------
|
|
67
|
+
|
|
68
|
+
Link to codesandbox repo (contributed by Kamile Taouk - https://github.com/ktaouk1) :
|
|
69
|
+
|
|
70
|
+
https://codesandbox.io/p/sandbox/canvasxpress-react-dmdpd4
|
|
71
|
+
|
|
65
72
|
CanvasXpress Homepage
|
|
66
73
|
----------------------
|
|
67
74
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "canvasxpress-react",
|
|
3
3
|
"main": "index.js",
|
|
4
4
|
"title": "CanvasXpress React",
|
|
5
|
-
"version": "62.
|
|
5
|
+
"version": "62.4.5",
|
|
6
6
|
"license": {
|
|
7
7
|
"type": "Dual licensing",
|
|
8
8
|
"url": "https://www.canvasxpress.org/docs/license.html"
|
|
@@ -28,6 +28,6 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/neuhausi/canvasxpress#readme",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"canvasxpress": "^62.
|
|
31
|
+
"canvasxpress": "^62.4.5"
|
|
32
32
|
}
|
|
33
33
|
}
|