Skip to content

Divider 分割线

分割内容区域。

基础

带文字居左居右

垂直分割

API

Props

属性说明类型默认值
direction方向'horizontal' | 'vertical''horizontal'
content-position文字位置(horizontal)'left' | 'center' | 'right''center'
border-style边框样式string'solid'
color边框颜色string

Slots

名称说明
default中间文字内容

Released under the MIT License.