<template>
  <span class="flow-drawer-sub-title">{{ prefix }}{{ name }}</span>
</template>

<script setup name="FlowSubTitle">
// 接收属性
defineProps({
  prefix: {
    type: String,
    required: false,
    default: ''
  },
  name: {
    type: String,
    required: false,
    default: ''
  }
});
</script>

<style scoped lang="less">
.flow-drawer-sub-title {
  border-left: 3px solid var(--primary-color);
  padding-left: 6px;
  font-weight: 700;
}
</style>
