Divider 分割线 ​

用于区隔内容的分隔线。

基础用法 ​

分隔不同段落的文字。

I sit at my window this morning where the world like a passer-by stops for a moment, nods to me and goes. There little thoughts are the rustle of leaves; they have their whisper of joy in my mind.

自定义内容 ​

可在分割线中间插入文案。

What you are you do not see, what you see is your shadow. My wishes are fools, they shout across thy song, my Master. Let me but listen. I cannot choose the best. The best chooses me.

虚线 ​

可设置分割线样式。

What language is thine, O sea?The language of eternal question.
What language is thy answer, O sky?The language of eternal silence.

垂直分割线 ​

RainHomeGrass

API ​

属性 ​

名称说明类型默认值
direction方向enumhorizontal
border-style线条样式enum css/border-stylesolid
content-position自定义内容在线上的位置enumcenter

插槽 ​

名称说明
default分割线中间内容