element-plus
Version:
> TODO: description
14 lines (9 loc) • 304 B
text/typescript
import Tree from './src/tree.vue'
import type { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
Tree.install = (app: App): void => {
app.component(Tree.name, Tree)
}
const _Tree = Tree as SFCWithInstall<typeof Tree>
export default _Tree
export const ElTree = _Tree