whatibroke.com
Allow Number and String for PropTypes – ReactJS
Hi everyone, A quick post on how to allow a string or number when defining PropTypes: 21032807225bc85ff5e3b6b_000000 Thanks to this stackoverflow post for the info: