amis-rpc-design/node_modules/@ant-design/cssinjs/es/linters/utils.js

6 lines
362 B
JavaScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
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(' | ')) : ''));
}