PropTypes class abstract
Runtime type checking for React props and similar objects.
See: reactjs.org/docs/typechecking-with-proptypes.html See: www.npmjs.com/package/prop-types
- Annotations
-
- @JS('React.PropTypes')
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
resetWarningCache(
) → dynamic - PropTypes.checkPropTypes(...) only console.error(...)s a given message once. To reset the cache while testing call PropTypes.resetWarningCache()