Skip to content

Commit d59a0ec

Browse files
authored
Merge pull request #1 from dtuyenle/dev
Dev
2 parents 825f0f4 + 6f766e7 commit d59a0ec

File tree

18 files changed

+1030
-495
lines changed

18 files changed

+1030
-495
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# react-selection-tree
22
A small and independent library which provide easy-to-use efficient fast scalable multiple nested selectable tree with search functionality.
3+
Interactive Documentation: `https://dtuyenle.github.io/react-selection-tree/`
34

45
## Features
56
+ Support infinite scroll only render what in view port.
@@ -11,6 +12,9 @@ A small and independent library which provide easy-to-use efficient fast scalabl
1112
Independent library, no overhead dependencies needed.
1213
`npm install react-selection-tree`
1314

15+
Make sure to include this web font into your project
16+
`https://s3.amazonaws.com/github-dtuyenle/react-selection-tree/style.css`
17+
1418
## Usage
1519
##### Data structure
1620
The data must be in the format as below:

package-lock.json

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-selection-tree",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"main": "lib/index.js",
55
"author": "Tuyen Le",
66
"description": "Another react tree selector library",
@@ -34,6 +34,7 @@
3434
"postcss-loader": "2.0.8",
3535
"promise": "8.0.1",
3636
"raf": "3.4.0",
37+
"ramda": "^0.25.0",
3738
"react": "^16.2.0",
3839
"react-dev-utils": "^5.0.0",
3940
"react-dom": "^16.2.0",

public/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
-->
1111
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
1212
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
13+
<link href="https://s3.amazonaws.com/github-dtuyenle/react-selection-tree/style.css" rel="stylesheet" />
1314
<!--
1415
Notice the use of %PUBLIC_URL% in the tags above.
1516
It will be replaced with the URL of the `public` folder during the build.

public/style.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
@font-face {
22
font-family: 'icomoon';
3-
src: url('fonts/icomoon.eot?bmot5f');
4-
src: url('fonts/icomoon.eot?bmot5f#iefix') format('embedded-opentype'),
5-
url('fonts/icomoon.ttf?bmot5f') format('truetype'),
6-
url('fonts/icomoon.woff?bmot5f') format('woff'),
7-
url('fonts/icomoon.svg?bmot5f#icomoon') format('svg');
3+
src: url('https://raw.githubusercontent.com/dtuyenle/react-selection-tree/master/public/fonts/icomoon.eot?bmot5f');
4+
src: url('https://raw.githubusercontent.com/dtuyenle/react-selection-tree/master/public/fonts/icomoon.eot?bmot5f#iefix') format('embedded-opentype'),
5+
url('https://raw.githubusercontent.com/dtuyenle/react-selection-tree/master/public/fonts/icomoon.ttf?bmot5f') format('truetype'),
6+
url('https://raw.githubusercontent.com/dtuyenle/react-selection-tree/master/public/fonts/icomoon.woff?bmot5f') format('woff'),
7+
url('https://raw.githubusercontent.com/dtuyenle/react-selection-tree/master/public/fonts/icomoon.svg?bmot5f#icomoon') format('svg');
88
font-weight: normal;
99
font-style: normal;
1010
}

src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class App extends Component {
6262
showSearch
6363
showClearAll
6464
infinite
65-
expandable={false}
65+
expandable
6666
multipleSelect
6767
/>
6868
</Row>

src/node_modules/components/BreadCrum/BreadCrum.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/node_modules/components/CheckBox/CheckBox.js

Lines changed: 83 additions & 70 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)