This commit is contained in:
2025-09-19 14:25:20 +08:00
parent 269893a435
commit fbf3f77229
24949 changed files with 2839404 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import { defineComponent, provide, h, renderSlot } from 'vue';
import { TIMELINE_INJECTION_KEY } from './tokens.mjs';
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
const Timeline = defineComponent({
name: "ElTimeline",
setup(_, { slots }) {
const ns = useNamespace("timeline");
provide(TIMELINE_INJECTION_KEY, slots);
return () => {
return h("ul", { class: [ns.b()] }, [renderSlot(slots, "default")]);
};
}
});
export { Timeline as default };
//# sourceMappingURL=timeline.mjs.map