MCPcopy Create free account
hub / github.com/plotly/dash / invalidValidatorError

Function invalidValidatorError

dash/deps/prop-types@15.8.1.js:586–591  ·  view source on GitHub ↗
(componentName, location, propFullName, key, type)

Source from the content-addressed store, hash-verified

584 }
585
586 function invalidValidatorError(componentName, location, propFullName, key, type) {
587 return new PropTypeError(
588 (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
589 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
590 );
591 }
592
593 function createShapeTypeChecker(shapeTypes) {
594 function validate(props, propName, componentName, location, propFullName) {

Callers 1

validateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…