import warning from 'warning';
var warned = {};
export default (function (valid, component, message) {
  if (!valid && !warned[message]) {
    warning(false, "[ygd: ".concat(component, "] ").concat(message));
    warned[message] = true;
  }
});