React
migration
byCodemod

React/React PropTypes To Prop Types

/icons/badge-info.svg

Made for

React

/icons/calendar.svg

Last update

May 29, 2024

Replaces React.PropTypes references with prop-types and adds the appropriate import or require statement. This codemod is intended for React 15.5+.

Build custom codemods

Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community

background illustrationGet Started Now