Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3dd368a

Browse files
已修改 README.md
已修改 package.json
1 parent 4978498 commit 3dd368a

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# react-nil-tree
22

3-
`npm install --save react-nil-tree`
3+
`npm install --save react-widget-tree`
44

55

66
## Tree属性
@@ -63,7 +63,7 @@
6363
```
6464
import React, { Component } from 'react';
6565
import TreeStore from 'xtree-store';
66-
import NilTree from 'react-nil-tree';
66+
import RWTree from 'react-widget-tree';
6767
import data from '../data.json';
6868
6969
export default class DEMO extends Component {
@@ -92,7 +92,7 @@ export default class DEMO extends Component {
9292
//checkable的选择状态需要通过回调设置checked
9393
render() {
9494
return (
95-
<NilTree
95+
<RWTree
9696
onNodeClick={this.toggleExpand}
9797
loadData={this.loadData}
9898
showIcon

‎package.json‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "react-nil-tree",
3-
"version": "1.1.0",
2+
"name": "react-widget-tree",
3+
"version": "1.0.0",
44
"description": "",
55
"main": "index.js",
66
"dependencies": {
@@ -84,9 +84,10 @@
8484
},
8585
"repository": {
8686
"type": "git",
87-
"url": "git+https://github.com/react-nil-components/tree.git"
87+
"url": "git+https://github.com/react-widget/tree.git"
8888
},
8989
"keywords": [
90+
"react-widget",
9091
"tree",
9192
"react-tree",
9293
"react",
@@ -95,7 +96,7 @@
9596
"author": "nobo.zhou@foxmail.com",
9697
"license": "MIT",
9798
"bugs": {
98-
"url": "https://github.com/react-nil-components/tree/issues"
99+
"url": "https://github.com/react-widget/tree/issues"
99100
},
100-
"homepage": "https://github.com/react-nil-components/tree#readme"
101+
"homepage": "https://github.com/react-widget/tree#readme"
101102
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /