Skip to content

Commit 2b78182

Browse files
committed
upgrade react + move data file
1 parent b41e6b8 commit 2b78182

File tree

12 files changed

+3215
-1841
lines changed

12 files changed

+3215
-1841
lines changed

example/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
"homepage": "https://ethanselzer.github.io/react-lazy-tree",
66
"devDependencies": {
77
"gh-pages": "^0.12.0",
8-
"react-scripts": "0.9.5"
8+
"react-scripts": "1.0.17"
99
},
1010
"dependencies": {
1111
"bootstrap": "^3.3.7",
12-
"react": "^15.3.2",
12+
"prop-types": "^15.6.0",
13+
"react": "16.1.0",
1314
"react-bootstrap": "^0.30.7",
14-
"react-dom": "^15.3.2",
15+
"react-dom": "16.1.0",
1516
"react-helmet": "^4.0.0",
1617
"react-lazy-tree": "^1.0.0",
1718
"react-router": "^3.0.0",

example/src/components/Catalog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, { Component } from 'react';
22
import { Link } from 'react-router';
33
import ReactLazyTree from 'react-lazy-tree';
44

5-
import data from '../../data/tree';
5+
import data from '../data/tree.json';
66

77
import '../../styles/catalog.css';
88

example/src/components/Hamburger.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { Component } from 'react';
22
import ReactLazyTree from 'react-lazy-tree';
33

4-
import data from '../../data/tree';
4+
import data from '../data/tree.json';
55
import Label from '../components/Label';
66

77
import '../../styles/hamburger.css';

example/src/components/Viewer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { Component } from 'react';
22
import ReactLazyTree from 'react-lazy-tree';
33

4-
import data from '../../data/tree';
4+
import data from '../data/tree.json';
55

66
import '../../styles/viewer.css';
77

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)