mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-15 19:41:06 +08:00

* chore: [tree] export type and fix the type error of the docs * revert: revert * revert: revert
12 lines
300 B
TypeScript
12 lines
300 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'
|