Skip to content

UnitTitle 单元标题

简介

用于页面或区块的分组标题,带有装饰性前缀图标,支持自定义标题、上下间距和图标高度。

基本用法

vue
<template>
  <g-unit-title title="分组标题">
    <el-button type="primary">操作</el-button>
  </g-unit-title>
</template>

属性说明

属性说明类型默认值
title标题内容string''
iconHeight前缀图标高度string/number16
top上间距(px)string/number24
bottom下间距(px)string/number10

插槽

名称说明
默认右侧内容插槽

</rewritten_file>