UNPKG

@empathyco/x-components

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