We can now pull in prop typing from @nudj/components without needing to require both that and the regular prop-types module. Also allows you to use the full name for certain properties for consistency where the module does not. For example, you can now call PropTypes.function as well as PropTypes.func.
We can now pull in prop typing from
@nudj/components
without needing to require both that and the regularprop-types
module. Also allows you to use the full name for certain properties for consistency where the module does not. For example, you can now callPropTypes.function
as well asPropTypes.func
.Before this PR:
After this PR: