@@ -24,7 +24,8 @@ <h2 class="project-tagline">A simple and elegant checkbox tree for React</h2>
24
24
< p >
25
25
< strong > React Checkbox Tree</ strong > is a feature-rich React component for a checkbox treeview.
26
26
Checkout the examples below and then view < a href ="https://github.com/jakezatecky/react-checkbox-tree/tree/master/examples/src/js "> source code</ a >
27
- or main < a href ="https://github.com/jakezatecky/react-checkbox-tree "> documentation page</ a > when you are ready to try it out.
27
+ or main < a href ="https://github.com/jakezatecky/react-checkbox-tree "> documentation page</ a > when you are ready
28
+ to try it out.
28
29
</ p >
29
30
30
31
< h1 > Examples</ h1 >
@@ -48,7 +49,7 @@ <h2>No Cascading Example</h2>
48
49
< h2 > Pessimistic Toggle Example</ h2 >
49
50
< p >
50
51
Try clicking a partially-checked node below. Instead of cascading a checked state to all children, the
51
- pessimistic model will uncheck children and their descendents .
52
+ pessimistic model will uncheck children and their descendants .
52
53
</ p >
53
54
< div id ="pessimistic-toggle-example "> </ div >
54
55
@@ -66,11 +67,13 @@ <h2>Large Data Example</h2>
66
67
67
68
< h2 > Clickable Labels Example</ h2 >
68
69
< p >
69
- By default, clicking on the node label texts toggle the checkbox value. Providing an < code > onClick</ code > property the checkbox will toggle
70
- only when clicking on the checkbox and the provided function will be called when clicking on the node label text.
70
+ By default, clicking on the node label toggles the checkbox value. By providing an < code > onClick</ code > property
71
+ the checkbox will toggle only when clicking on the checkbox and the provided function will be called when
72
+ clicking on the node label.
71
73
</ p >
72
74
< p >
73
- When the < code > onClick</ code > function is defined passing the < code > expandOnClick</ code > property will expand the clicked node automatically.
75
+ When the < code > onClick</ code > function is defined, passing the < code > expandOnClick</ code > property will also
76
+ expand the clicked node automatically.
74
77
</ p >
75
78
< div id ="clickable-labels-example "> </ div >
76
79
0 commit comments