element-plus/docs/examples/text/sizes.vue
gimjin 4f78411bb8
feat(components): add el-text component (#11653)
* test(components): [text] el-text unit test

* docs(components): [text] el-text website documentation

* feat(components): [text] el-text implementation

* fix(components): [text] prop 'as' rename 'tag'

* docs(components): [text] rename slot default, optimize document

* test(components): [text] render text & class change the execution order

* fix(components): [text] use template and render function together
2023-03-10 15:30:56 +08:00

6 lines
171 B
Vue

<template>
<el-text class="mx-1" size="large">Large</el-text>
<el-text class="mx-1">Default</el-text>
<el-text class="mx-1" size="small">Small</el-text>
</template>