Skip to content

Commit f54fe2c

Browse files
committed
Make example nodes more interesting
1 parent c5a9013 commit f54fe2c

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

README.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,12 @@ import React from 'react';
2929
import CheckboxTree from 'react-checkbox-tree';
3030

3131
const nodes = [{
32-
value: 'node-1',
33-
title: 'Parent Node 1',
34-
children: [{
35-
value: 'node-1-1',
36-
title: 'Leaf Node 1-1',
37-
}, {
38-
value: 'node-1-2',
39-
title: 'Leaf Node 1-2',
40-
}],
32+
value: 'mars',
33+
title: 'Mars',
34+
children: [
35+
{ value: 'phobos', title: 'Phobos' },
36+
{ value: 'deimos', title: 'Deimos' },
37+
],
4138
}];
4239

4340
class Widget extends React.Component {

0 commit comments

Comments
 (0)