mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
* refactor(components): [tree] improve emit to get type hints * chore: update * fix: update * chore: revert example * docs: update type Co-authored-by: Dsaquel <291874700n@gmail.com> * chore: rename event Co-authored-by: btea <2356281422@qq.com> --------- Co-authored-by: Dsaquel <291874700n@gmail.com> Co-authored-by: btea <2356281422@qq.com>
14 lines
356 B
TypeScript
14 lines
356 B
TypeScript
import { withInstall } from '@element-plus/utils'
|
|
import Tree from './src/tree.vue'
|
|
|
|
import type { SFCWithInstall } from '@element-plus/utils'
|
|
|
|
export const ElTree: SFCWithInstall<typeof Tree> = withInstall(Tree)
|
|
|
|
export default ElTree
|
|
|
|
export * from './src/tree.type'
|
|
export * from './src/instance'
|
|
export * from './src/tokens'
|
|
export * from './src/tree'
|