React OneOf vs. OneOfType

1 · Jake Trent · Oct. 27, 2017, 1:11 p.m.
Here’s the difference between React PropTypes.oneOf and PropTypes.oneOfType. ...