JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q39367F
  • License ISC

compatible react and react-native different versions

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
  • npm install react-native-tree --save
  • react-native link
  • 然后
  • react-native run-android
  • 或 react-native run-ios
<Tree treeData={[]}/>
<TreeSelect treeData={[]} defaultValue={[]}/>

运行示例