<template>
  <div class="demo-timeline-basic">
    <ui-timeline>
      <ui-timeline-item
        v-for="item of list"
        :key="item.id">
        {{ item.value }}
      </ui-timeline-item>
    </ui-timeline>
  </div>
</template>

<script>
import { Timeline, TimelineItem } from "amumu-ui"
export default {
  components: {
    "ui-timeline": Timeline,
    "ui-timeline-item": TimelineItem,
  },
  data() {
    return {
      list: [
        {
          id: 0,
          value: "Create a services site 2015-09-01",
        },
        {
          id: 1,
          value: "Solve initial network problems 2015-09-01",
        },
        {
          id: 2,
          value: "Technical testing 2015-09-01",
        },
        {
          id: 3,
          value: "Network problems being solved 2015-09-01",
        },
      ],
    }
  },
}
</script>

<style lang="scss">
.demo-timeline-basic {
}
</style>
