UNPKG

@ark-ui/vue

Version:

A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.

21 lines (18 loc) 491 B
import { defineComponent, onMounted, onBeforeUnmount, renderSlot } from 'vue'; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "frame-content", emits: ["mount", "unmount"], setup(__props, { emit: __emit }) { const emit = __emit; onMounted(() => { emit("mount"); }); onBeforeUnmount(() => { emit("unmount"); }); return (_ctx, _cache) => { return renderSlot(_ctx.$slots, "default"); }; } }); export { _sfc_main as default };