Files
video-gen/video-gen-admin/node_modules/@ant-design/cssinjs/lib/linters/hashedAnimationLinter.js
T
2026-05-25 17:07:28 +08:00

15 lines
462 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _utils = require("./utils");
const linter = (key, value, info) => {
if (key === 'animation') {
if (info.hashId && value !== 'none') {
(0, _utils.lintWarning)(`You seem to be using hashed animation '${value}', in which case 'animationName' with Keyframe as value is recommended.`, info);
}
}
};
var _default = exports.default = linter;