PT (Prop Types)
Deprecated
The PT export (prop-types
alias) was removed in the library v1.36.0,
as propTypes
checks are ignored by React v19+.
Migrate to TypeScript, or alternative type-checking solutions.
Original Documentation
Valid for library versions prior to v1.36.0
import { PT } from '@dr.pogodin/react-utils';
The PT module is just an alias for prop-types library, which facilitates runtime type checks for React.