<template>
<el-steps :active="active" align-center class="honjo-steps" :class="[processCls]">
<slot></slot>
</el-steps>
</template>

<script lang="ts">

import { Vue, Component, Prop, Ref } from 'vue-property-decorator'

@Component
export default class HonjoSteps extends Vue {
  @Prop(Number) active!: number

  @Prop(Boolean) process!: boolean // 纯进度条模式

  get processCls () {
    return this.process ? 'honjo-steps--process' : ''
  }
}
</script>

<style lang="scss">
@import "./style/index.scss";

</style>
