Closed shapkarin closed 5 years ago
Done, just need to refactor 😄 and probably I can't use spread. (work after v8.3)
Also propTypes works fine with asterisk at the end title:string*
https://github.com/shapkarin/react-scaffolder/commit/8de0d44523261609ee8c5ad0c8fbf78b81182dee
https://github.com/shapkarin/react-scaffolder/commit/5eab2033b7435cf039fd9457014e24ffb4adf13c
And sure, if you write some props without type, then cli will ask you to choose
Soon I'll refact that and make PR
I made PR
Define propTypes with type in propNames input (name:type)