You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
504 B
18 lines
504 B
|
2 years ago
|
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
|