element-plus/docs/examples/divider/custom-content.vue
2021-12-04 11:20:06 +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>I cannot choose the best. The best chooses me.</span>
<el-divider>
<el-icon><star-filled /></el-icon>
</el-divider>
<span
>My wishes are fools, they shout across thy song, my Master. Let me but
listen.</span
>
<el-divider content-position="right">Rabindranath Tagore</el-divider>
</div>
</template>
<script lang="ts" setup>
import { StarFilled } from '@element-plus/icons-vue'
</script>