Describe the bug
onAction property is optional based on PropTypes and typescript types, however it's being called in the onClick handler, that assume onAction property is a function.
To Reproduce
Create data with nodes, that have actions array populated,
click on the node with action.
Note it was working fine on original fork version of sandbox (lib v1.13.0)
CodeSandbox Link: https://codesandbox.io/s/react-dropdown-tree-select-bvlff?file=/index.js
Expected behavior
Clicking on the node, should not throw an error.
Screenshots

*Environment
- Browser Chrome 83
- OS: Linux