File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22
3- import Tree from '../../../src/js/CheckboxTree ' ;
3+ import CheckboxTree from '../../../src/index ' ;
44
55const nodes = [
66 {
@@ -114,7 +114,7 @@ class BasicExample extends React.Component {
114114 const { checked, expanded } = this . state ;
115115
116116 return (
117- < Tree
117+ < CheckboxTree
118118 checked = { checked }
119119 expanded = { expanded }
120120 nodes = { nodes }
Original file line number Diff line number Diff line change 11import React from 'react' ;
22
3- import Tree from '../../../src/js/CheckboxTree ' ;
3+ import CheckboxTree from '../../../src/index ' ;
44
55const nodes = [
66 {
@@ -114,7 +114,7 @@ class PessimisticToggleExample extends React.Component {
114114 const { checked, expanded } = this . state ;
115115
116116 return (
117- < Tree
117+ < CheckboxTree
118118 checked = { checked }
119119 expanded = { expanded }
120120 nodes = { nodes }
You can’t perform that action at this time.
0 commit comments