UNPKG

song-ui-u

Version:

vue3 + js的PC前端组件库

32 lines (28 loc) 689 B
'use strict'; var vue = require('vue'); var index = require('../../../hook/use-namespace/index.cjs'); require('song-ui-pro-icon'); require('../../../hook/use-zindex/index.cjs'); var constants = require('../constants.cjs'); var Timeline = /* @__PURE__ */ vue.defineComponent({ name: "x-timeline", props: { position: { type: String, default: "bottom" } }, setup(props, { slots }) { const ns = index.useNamespace("timeline"); vue.provide(constants.TIMELINE_KEY, { props }); return () => vue.createVNode("div", { "class": ns.b() }, [slots.default?.()]); } }); module.exports = Timeline; //# sourceMappingURL=index.cjs.map