File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,16 @@ npm install --save react-infinite-tree
27
27
28
28
## Example
29
29
30
+ ### Components
31
+
32
+ https://github.com/cheton/react-infinite-tree/tree/master/examples/components
33
+
30
34
### Tree
31
35
32
36
``` jsx
33
37
import PropTypes from ' prop-types' ;
34
38
import React , { PureComponent } from ' react' ;
35
- import InfiniteTree from ' ../src ' ;
39
+ import InfiniteTree from ' react-infinite-tree ' ;
36
40
import TreeNode from ' ./components/TreeNode' ;
37
41
import Toggler from ' ./components/Toggler' ;
38
42
import Icon from ' ./components/Icon' ;
@@ -168,10 +172,6 @@ class Tree extends PureComponent {
168
172
export default Tree ;
169
173
```
170
174
171
- ### Components
172
-
173
- https://github.com/cheton/react-infinite-tree/tree/master/examples/components
174
-
175
175
# API
176
176
177
177
### Properties
You can’t perform that action at this time.
0 commit comments