element-plus/packages/components/text/index.ts
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

9 lines
176 B
TypeScript

import { withInstall } from '@element-plus/utils'
import Text from './src/text.vue'
export const ElText = withInstall(Text)
export default ElText
export * from './src/text'