element-plus/packages/tooltip/index.ts

12 lines
318 B
TypeScript
Raw Normal View History

import { App } from 'vue'
2020-09-14 10:03:33 +08:00
import Tooltip from './src/index'
2021-03-22 20:52:31 +08:00
import { SFCWithInstall } from '@element-plus/utils/types'
2020-10-29 17:28:26 +08:00
Tooltip.install = (app: App): void => {
app.component(Tooltip.name, Tooltip)
}
2020-10-29 17:28:26 +08:00
2021-03-22 20:52:31 +08:00
const _Tooltip: SFCWithInstall<typeof Tooltip> = Tooltip as SFCWithInstall<typeof Tooltip>
export default _Tooltip