mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 01:11:25 +08:00
12 lines
318 B
TypeScript
12 lines
318 B
TypeScript
import { App } from 'vue'
|
|
import Tooltip from './src/index'
|
|
import { SFCWithInstall } from '@element-plus/utils/types'
|
|
|
|
Tooltip.install = (app: App): void => {
|
|
app.component(Tooltip.name, Tooltip)
|
|
}
|
|
|
|
const _Tooltip: SFCWithInstall<typeof Tooltip> = Tooltip as SFCWithInstall<typeof Tooltip>
|
|
|
|
export default _Tooltip
|