utils.js 362 B

123456
  1. import devWarning from "rc-util/es/warning";
  2. export function lintWarning(message, info) {
  3. var path = info.path,
  4. parentSelectors = info.parentSelectors;
  5. devWarning(false, "[Ant Design CSS-in-JS] ".concat(path ? "Error in ".concat(path, ": ") : '').concat(message).concat(parentSelectors.length ? " Selector: ".concat(parentSelectors.join(' | ')) : ''));
  6. }