- Provides a new two-fold API:
deprecate
for wrapping individualPropType
options, andaddIsDeprecated
for returning a copy ofReact.PropTypes
with aisDeprecated
method added. - No longer mutates the React API #1
deprecate
for wrapping individual PropType
options, and addIsDeprecated
for returning a copy of React.PropTypes
with a isDeprecated
method added.