{"library":"prop-types-extra","type":"library","category":null,"description":"prop-types-extra is a utility library designed to augment React's prop-validation capabilities by providing an extended set of PropTypes. It builds upon the foundational `prop-types` package, offering specialized validators that address common and complex validation scenarios in React component development. Key validators include `all`, which enables combining multiple validation rules; `componentOrElement`, for validating props expecting either a React component or a DOM element reference; `deprecated`, a utility to log deprecation warnings for specific props; `elementType`, for ensuring a prop is a valid React element type (e.g., a string for a DOM element or a component constructor); and `isRequiredForA11y`, which enforces accessibility requirements. The package is currently at version 1.1.1. As a supplementary tool for `prop-types`, its release cadence is typically stable, with updates driven primarily by React's evolution or specific bug fixes rather than frequent feature additions. It differentiates itself by providing ready-to-use, advanced validation patterns, thereby simplifying the creation of robust and semantically correct React components.","language":"javascript","status":"maintenance","version":"1.1.1","tags":["javascript","react","proptypes"],"install":[{"cmd":"npm install prop-types-extra","imports":["import { elementType } from 'prop-types-extra';","import elementType from 'prop-types-extra/lib/elementType';","import { all } from 'prop-types-extra';","import { deprecated } from 'prop-types-extra';"]},{"cmd":"yarn add prop-types-extra","imports":[]},{"cmd":"pnpm add prop-types-extra","imports":[]}],"homepage":null,"github":"https://github.com/react-bootstrap/prop-types-extra","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/prop-types-extra","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/prop-types-extra/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}