M

react-native/74/remove-deprecated-proptypes

How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

This codemod removes deprecated PropTypes from React Native components (e.g., Image, Text, TextInput), reducing app size and memory overhead, and preparing the codebase for modern type-checking solutions.

Example

Before

ts

After

ts

Ready to contribute?

Build your own codemod and share it with the community.