UNPKG

ant-design-x-vue

Version:

Craft AI-driven interfaces effortlessly

23 lines (22 loc) 600 B
const a = (t) => { const { componentCls: n } = t, i = `${n}-transition-collapse`; return { [n]: { [i]: { "&-enter-active": { transition: ["max-height", "padding-top", "padding-bottom"].map( (o) => `${o} ${t.motionDurationSlow} ${t.motionEaseInOut}` ).join(",") }, "&-leave-active": { transition: ["max-height", "padding-top", "padding-bottom"].map( (o) => `${o} ${t.motionDurationSlow} ${t.motionEaseInOut}` ).join(",") } } } }; }; export { a as genTransitionCollapseStyle };