-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeScript support #395
Comments
@nosferatu500 thanks for the new version heads-up! We use typescript, so I upgraded to v4.0.0. However, it seems that the path types (path, nextPath, prevPath, ...) are set to number[] in the typings, while the documentation states that these can be number[] or string[]: Generate an object with additional props to be passed to the node renderer. Use this for adding buttons via the buttons key, or additional style / className settings.
|
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
https://github.com/nosferatu500/react-sortable-tree/releases/tag/v4.0.0
The text was updated successfully, but these errors were encountered: