Skip to content

Commit

Permalink
优化说明文档排版
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhangYaodong committed Jun 29, 2017
1 parent 6297391 commit e2e9bbd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,25 @@ subtitle: 树形控件
---

## 使用
使用本组件时要同时添加图标库并链接
先执行
npm install react-native-vector-icons --save
react-native link
然后
react-native run-android
或 react-native run-ios
- 使用本组件时要同时添加图标库并链接
- 先执行
- npm install react-native-vector-icons --save
- react-native link
- 然后
- react-native run-android
- 或 react-native run-ios

```jsx
<Tree treeData={[]}/>
<TreeSelect treeData={[]} defaultValue={[]}/>
```

## 运行示例
git clone https://github.com/AdamRobertHall/react-native-tree.git
- git clone https://github.com/AdamRobertHall/react-native-tree.git

进入工程目录
cd Example
npm install
react-native link
react-native run-android
或 react-native run-ios
- 进入工程目录
- cd Example
- npm install
- react-native link
- react-native run-android
- 或 react-native run-ios
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "react-native-tree",
"version": "1.1.0",
"version": "1.1.1",
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start"
},
"dependencies": {
"rc-dialog": "^6.5.10",
"react-native-vector-icons": "^4.2.0"
},
"description": "modify Dimensions bug",
"description": "stable version",
"main": "index.js",
"devDependencies": {
"@types/react": "~0.14.41",
Expand Down

0 comments on commit e2e9bbd

Please sign in to comment.