You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -9,16 +9,15 @@
9
9
10
10

11
11
12
-
13
-
## Installation
12
+
# Installation
14
13
15
14
The easiest way to use react-checkbox-tree is to install from NPM and include it in your own React build process (e.g. using [Webpack](http://webpack.github.io/docs/what-is-webpack.html)):
16
15
17
16
```
18
17
npm install react-checkbox-tree --save
19
18
```
20
19
21
-
##Usage
20
+
# Usage
22
21
23
22
A quick usage example is included below. Note that the react-checkbox-tree component is [controlled](https://facebook.github.io/react/docs/forms.html#controlled-components). In other words, it is stateless. You must update its `checked` and `expanded` properties whenever a change occurs.
24
23
@@ -64,7 +63,7 @@ class Widget extends React.Component {
0 commit comments