prop-types icon indicating copy to clipboard operation
prop-types copied to clipboard

Is there a way to get the list of warnings as an object?

Open halfo opened this issue 6 years ago • 0 comments

I want to use prop-types to validate some object. And based on the validations result set, I want to take some actions. PropTypes.checkPropTypes seems to be a nice fit but it throws warning, which isn't exactly what I'm looking for. Can I've some clue how to achieve that?

halfo avatar Jan 15 '18 12:01 halfo