<template>
    <ul :class="classes">
       <slot></slot>
    </ul>
</template>
<script>
  'use strict';
  const prefixCls = 'co-timeline';
  export default {
    name: 'co-timeline',
    props: {
      pending: {
        type: Boolean,
        default: false
      }
    },
    computed: {
      classes() {
        return [
          `${prefixCls}`,
          {
            [`${prefixCls}-pending`]: this.pending
          }
        ];
      }
    }
  };
</script>
