Deprecated React Native PropTypes
JSON →This package provides access to `propTypes` definitions that were formerly exposed directly by React Native components (e.g., `Image.propTypes`, `Text.propTypes`, `TextInput.propTypes`) and global `PropType` definitions (e.g., `ColorPropType`, `ViewPropTypes`, `EdgeInsetsPropType`, `PointPropType`). React Native itself removed these direct exports, encouraging developers to migrate to type-checking libraries like TypeScript or the general `prop-types` package for component validation. This package serves as a compatibility layer for older codebases that still rely on these specific `propTypes` definitions, facilitating a phased migration away from the deprecated patterns. The current stable version is 5.0.0. As a bridge for deprecated features, its release cadence is primarily tied to critical bug fixes or specific React Native migration paths rather than active feature development. Its key differentiator is solely to provide backward compatibility for legacy React Native projects that have not yet fully migrated.
Traffic · last 30 days ↑0% vs prev 7d
top countries 🇨🇦 Canada · 🇸🇬 Singapore · 🇺🇸 United States · 🇫🇷 France · 🇩🇪 Germany