returnnewError("You have provided a `"+propName+"` prop to `"+name+"` "+("without an `"+handler+"` handler prop. This will render a read-only field. ")+("If the field should be mutable use `"+defaultKey(propName)+"`. ")+("Otherwise, set `"+handler+"`."));
// add default propTypes for folks that use runtime checks
propTypes[defaultKey(prop)]=noop;
if(process.env.NODE_ENV!=='production'){
varhandler=controlledValues[prop];
!(typeofhandler==='string'&&handler.trim().length)?process.env.NODE_ENV!=="production"?invariant(false,'Uncontrollable - [%s]: the prop `%s` needs a valid handler key name in order to make it uncontrollable',displayName,prop):invariant(false):void0;