static propTypes = {
onSelect: PropTypes.func,
value: PropTypes.oneOfType([
PropTypes.arrayOf(PropTypes.shape({
key: PropTypes.string.isRequired,
label: PropTypes.string,
})),
PropTypes.shape({
key: PropTypes.string.isRequired,
label: PropTypes.string,
})
]),
multiple: PropTypes.bool,
onlyCheckLeaf: PropTypes.bool,
treeDefaultExpandedKeys: PropTypes.arrayOf(PropTypes.string),
treeDefaultExpandAll: PropTypes.bool,
treeData: PropTypes.arrayOf(PropTypes.shape({
key: PropTypes.string.isRequired,
label: PropTypes.string.isRequired,
disabled: PropTypes.bool,
children: PropTypes.array,
})).isRequired
}
-
Notifications
You must be signed in to change notification settings - Fork 3
jys125773/react-native-tree-select
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
react-native tree select ,suport single and multiple,support batch selection
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published