const deprecated = (propType, explanation) => {
  return function validate(props, propName, componentName, ...rest) {
    if (props[propName] != null) {
      const message = `"${propName}" property of "${componentName}" has been deprecated.
${explanation}`;
      console.warn(message);
    }
    return propType(props, propName, componentName, ...rest);
  };
};
var deprecated_default = deprecated;
export {
  deprecated_default as default
};
