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: 6634441965b4cff722a625_000000 Thanks to this stackoverflow post for the info: