You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
prop-types already have checkPropTypes() then why this module. Could you please explain the reason behind it?
To use! Just I need to import it in sample.spec.js or sample.js file
// importimportPropTypes,{checkPropTypes}from'prop-types';//... direct call that methodcheckPropTypes(Sample.propTypes,expectedProps,'props',Sample.name)
Thanks!
The text was updated successfully, but these errors were encountered:
Duplicate Module!
prop-types
already havecheckPropTypes()
then why this module. Could you please explain the reason behind it?To use! Just I need to import it in
sample.spec.js or sample.js file
Thanks!
The text was updated successfully, but these errors were encountered: