element-plus
Version:
A Component Library for Vue 3
18 lines (15 loc) • 504 B
JavaScript
import { defineComponent, provide, h, renderSlot } from 'vue';
import '../../../hooks/index.mjs';
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
const Timeline = defineComponent({
name: "ElTimeline",
setup(_, { slots }) {
const ns = useNamespace("timeline");
provide("timeline", slots);
return () => {
return h("ul", { class: [ns.b()] }, [renderSlot(slots, "default")]);
};
}
});
export { Timeline as default };
//# sourceMappingURL=timeline.mjs.map