element-plus/docs/examples/divider/custom-content.vue
Alan Wang 0b269e76a1
feat(components): [el-divider] support setting the dividing line style (#4435)
* feat(components): [el-divider] support setting the dividing line style

* Update divider.md
2021-12-09 20:41:38 +08:00

20 lines
606 B
Vue

<template>
<div>
<span>What you are you do not see, what you see is your shadow. </span>
<el-divider content-position="left">Rabindranath Tagore</el-divider>
<span
>My wishes are fools, they shout across thy song, my Master. Let me but
listen.</span
>
<el-divider>
<el-icon><star-filled /></el-icon>
</el-divider>
<span>I cannot choose the best. The best chooses me.</span>
<el-divider content-position="right">Rabindranath Tagore</el-divider>
</div>
</template>
<script lang="ts" setup>
import { StarFilled } from '@element-plus/icons-vue'
</script>