Closed jedireza closed 7 years ago
We should update the PropTypes for the shared form components so the values are happy to take Numbers and Strings.
PropTypes
Number
String
const propTypes = { // ... value: PropTypes.oneOfType([ PropTypes.string, PropTypes.number ]) };
https://github.com/jedireza/aqua/tree/master/client/components/form
hey @jedireza let me take this ;)
Also, i'm building a boilerplate as well, if u would like to check it out: https://github.com/jaburcodes/flash
is there anything missing?
Nope. I just forgot to close this.
We should update the
PropTypes
for the shared form components so the values are happy to takeNumber
s andString
s.https://github.com/jedireza/aqua/tree/master/client/components/form