UNPKG

@empathyco/x-components

Version:
27 lines (24 loc) 799 B
import { defineComponent, openBlock, createBlock, Transition, withCtx, renderSlot } from 'vue'; var _sfc_main = /*@__PURE__*/ defineComponent({ __name: 'animate-scale', props: { animationOrigin: { type: String, default: 'top', }, }, setup(__props) { return (_ctx, _cache) => { return (openBlock(), createBlock(Transition, { name: `x-animate-scale--${__props.animationOrigin} x-animate-scale-` }, { default: withCtx(() => [ renderSlot(_ctx.$slots, "default") ]), _: 3 /* FORWARDED */ }, 8 /* PROPS */, ["name"])); }; } }); export { _sfc_main as default }; //# sourceMappingURL=animate-scale.vue.js.map