24jieqi / react-native-xiaoshu

🌈 React Native UI library
https://24jieqi.github.io/react-native-xiaoshu/
Apache License 2.0
216 stars 21 forks source link

Tree组件中,节点能否添加拓展 #32

Closed WangShayne closed 1 year ago

WangShayne commented 1 year ago

如在非叶子节点中新建子节点,删除节点等

onlyling commented 1 year ago

目前可以尝试 options 每个对象使用 render 添加额外元素。 https://github.com/hjfruit/react-native-xiaoshu/blob/main/src/tree/tree-item.tsx#L82

WangShayne commented 1 year ago

可用,谢谢