issues
search
chenglou
/
react-treeview
Easy, light, flexible tree view made with React.
1.09k
stars
165
forks
source link
Fix propTypes and defaultProps
#55
Open
ackvf
opened
7 years ago
ackvf
commented
7 years ago
propTypes defined in the class with
:
are invalid (and not working).
In my opinion using defaultProps is a more standard way.
I removed the bind call and redeclared the handler as an arrow function
:
are invalid (and not working).