Closed aliciacatalina closed 7 years ago
Uses Reacts oneOf to the mood protype in both components. https://facebook.github.io/react/docs/typechecking-with-proptypes.html Thought it would be nice to have it explicitly in the Proptypes.
oneOf
Let me know what you think :)
Hi @aliciacatalina, You're right. Much better the code. I'm going to merge.
Thanks! 😃
Uses Reacts
oneOf
to the mood protype in both components. https://facebook.github.io/react/docs/typechecking-with-proptypes.html Thought it would be nice to have it explicitly in the Proptypes.Let me know what you think :)