cs
This commit is contained in:
9
node_modules/@ant-design/cssinjs/es/linters/hashedAnimationLinter.js
generated
vendored
Normal file
9
node_modules/@ant-design/cssinjs/es/linters/hashedAnimationLinter.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { lintWarning } from "./utils";
|
||||
var linter = function linter(key, value, info) {
|
||||
if (key === 'animation') {
|
||||
if (info.hashId && value !== 'none') {
|
||||
lintWarning("You seem to be using hashed animation '".concat(value, "', in which case 'animationName' with Keyframe as value is recommended."), info);
|
||||
}
|
||||
}
|
||||
};
|
||||
export default linter;
|
||||
Reference in New Issue
Block a user