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