Skip to content

Divider 分割线

分隔内容块或列表。

基础用法

loading

实线、虚线及带文字

loading

可配合 orientationcontent-position 等属性实现文字分割线。

类型 (type)

loading

API

属性说明类型默认值
dashed是否虚线booleanfalse
orientation水平/垂直'horizontal' | 'vertical''horizontal'
contentPosition文字位置'left' | 'center' | 'right''center'
type颜色类型'default' | 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'danger' | 'info''default'

MIT License