timeline.mjs 504 B

1234567891011121314151617
  1. import { defineComponent, provide, h, renderSlot } from 'vue';
  2. import '../../../hooks/index.mjs';
  3. import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
  4. const Timeline = defineComponent({
  5. name: "ElTimeline",
  6. setup(_, { slots }) {
  7. const ns = useNamespace("timeline");
  8. provide("timeline", slots);
  9. return () => {
  10. return h("ul", { class: [ns.b()] }, [renderSlot(slots, "default")]);
  11. };
  12. }
  13. });
  14. export { Timeline as default };
  15. //# sourceMappingURL=timeline.mjs.map