# 使用说明
// 按需引入需要在 app.scss 中引入对应样式 titleBar.scss
import { ClTitleBar } from "mp-colorui";
# 一般用法
# 参数说明
# TitleBar 参数
| 参数 | 说明 | 类型 | 可选值 | 默认值 | 
|---|---|---|---|---|
| bgColor | 标题栏背景色 | string | 参考文档 默认色 | white | 
| textColor | 文字颜色 | string | 参考文档 默认色-标准色 | green | 
| type | 子标题类型 | string | border-title,sub-title,icon |  border-title | 
| subTitle | 子标题,仅 type 为 sub-title 时设置 | string | - | - | 
| subTitleColor | 子标题颜色 | string | 参考文档 默认色-标准色 | |
| borderColor | 子边线,仅 type 为 border-title 时设置 | string | 参考文档 默认色 | green | 
| borderLong | 子边线长度 | number | - | 20 | 
| icon | 仅 type 为 icon 时设置,图标 | string | 参考文档 Icon-iconName | - | 
| iconColor | 图标颜色 | string | 参考文档 Icon-iconName | green | 
| title | 标题 | string | - | - | 
| renderRight | 标题栏右侧自定义渲染 | Element | - | - | 
部分功能需扫码预览才能正常显示。
