UNPKG

motion-plus-vue

Version:

Motion Plus Vue

18 lines (17 loc) 340 B
import { Comment as o, Fragment as r } from "vue"; function u(n = []) { const t = []; for (const e of n) e.type !== o && t.push(e); return t; } function f(n) { const t = []; for (const e of n) e.type === r ? t.push(...f(e.children.default())) : t.push(e); return t; } export { u as flattenSlots, f as renderVNode };