<template>
  <div
    class="ui-timeline-group"
  >
    <div class="ui-timeline-group__label">
      {{ label }}
    </div>
    <div class="ui-timeline-group__body">
      <slot></slot>
    </div>
  </div>
</template>
<script>
export default {
  name: 'UiTimelineGroup',
  props: {
    label: {
      type: String
    }
  }
}
</script>
<style lang="less">
.ui-timeline-group__label {
  height: 32px;
  line-height: 32px;
  background: #F3F4F5;
  border-radius: 4px;
  display: inline-block;
  color: #606C80;
  padding-left: 12px;
  padding-right: 12px;
}
</style>
