react-graph-grid 0.1.0 → 0.1.1
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 +22 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ Installation
|
|
|
11
11
|
|
|
12
12
|
Example
|
|
13
13
|
|
|
14
|
-
import {
|
|
14
|
+
import { GridCD } from '../../node_modules/react-graph-grid/src/GridCD';
|
|
15
15
|
import TestData from '../../node_modules/react-graph-grid/src/Tests/TestData';
|
|
16
16
|
|
|
17
17
|
...
|
|
@@ -111,7 +111,7 @@ Example
|
|
|
111
111
|
};
|
|
112
112
|
|
|
113
113
|
|
|
114
|
-
<
|
|
114
|
+
<GridCD
|
|
115
115
|
getRows={loadRows}
|
|
116
116
|
getColumns={loadColumns}
|
|
117
117
|
allowEdit={true}
|
|
@@ -154,6 +154,26 @@ Some grid properties
|
|
|
154
154
|
|
|
155
155
|
For more examples see DebugApp.jsx
|
|
156
156
|
|
|
157
|
+
Your App.jsx should look like this
|
|
158
|
+
|
|
159
|
+
import DebugApp from '../node_modules/react-graph-grid/src/Tests/DebugApp'
|
|
160
|
+
import '../node_modules/react-graph-grid/src/css/default.css'
|
|
161
|
+
|
|
162
|
+
function App() {
|
|
163
|
+
return (
|
|
164
|
+
<>
|
|
165
|
+
<DebugApp></DebugApp>
|
|
166
|
+
</>
|
|
167
|
+
)
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export default App
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
0.1.1 version
|
|
174
|
+
|
|
175
|
+
Readme file updated
|
|
176
|
+
|
|
157
177
|
0.1.0 version
|
|
158
178
|
|
|
159
179
|
Removed getDefaultLinkContent, added applyConnection function
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
2
|
"name": "react-graph-grid",
|
|
3
3
|
"author": "Mikhail Razumtsev",
|
|
4
4
|
"description": "A React package containing a grid that can communicate with other grids through a connection graph",
|
|
5
5
|
"private": false,
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.1",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"dev": "vite --port 4000",
|