mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-21 02:50:11 +08:00
fix: fix tooltip's export (#1678)
This commit is contained in:
parent
6822cafda8
commit
2a5059b5c5
@ -1,8 +1,11 @@
|
||||
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)
|
||||
}
|
||||
|
||||
export default Tooltip
|
||||
const _Tooltip: SFCWithInstall<typeof Tooltip> = Tooltip as SFCWithInstall<typeof Tooltip>
|
||||
|
||||
export default _Tooltip
|
||||
|
Loading…
Reference in New Issue
Block a user