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