UNPKG

ant-design-x-vue-next

Version:

Ant Design X for Vue — community continuation aligned with @ant-design/x

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 };