Package Exports
- react-native-tree
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-tree) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
category: Components type: Data Display title: Tree TreeSelect subtitle: 树形控件
使用
- 使用本组件时要同时添加图标库并链接
- 先执行
- npm install react-native-vector-icons --save
- react-native link
- 然后
- react-native run-android
- 或 react-native run-ios
<Tree treeData={[]}/>
<TreeSelect treeData={[]} defaultValue={[]}/>
运行示例
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