Files
element-plus/packages/components/tree/index.ts
Zhong a65d218e22 refactor(components): [tree] improve emit to get type hints (#22526)
* 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>
2025-10-20 14:43:47 +08:00

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'