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
+20-2Lines changed: 20 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,9 @@
10
10
11
11

12
12
13
-
## Installation
13
+
## Usage
14
+
15
+
### Installation
14
16
15
17
The easiest way to use react-checkbox-tree is to install using your favorite dependency manager and include it in your own React build process (e.g. using [Webpack](http://webpack.github.io/docs/what-is-webpack.html)):
16
18
@@ -24,7 +26,23 @@ yarn add react-checkbox-tree
24
26
25
27
> **Note**– This library makes use of [Font Awesome](http://fontawesome.io/) styles and expects them to be loaded in the browser.
26
28
27
-
## Usage
29
+
30
+
### Include CSS
31
+
32
+
For your convenience, the library's styles can be consumed utilizing one of the following files:
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.
0 commit comments