Files
video-gen/video-gen-admin/node_modules/@rc-component/menu/lib/utils/motionUtil.js
T
2026-05-25 17:08:18 +08:00

15 lines
307 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getMotion = getMotion;
function getMotion(mode, motion, defaultMotions) {
if (motion) {
return motion;
}
if (defaultMotions) {
return defaultMotions[mode] || defaultMotions.other;
}
return undefined;
}