element-plus/packages/popconfirm/index.ts

12 lines
317 B
TypeScript
Raw Normal View History

import { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
import Popconfirm from './src/index.vue'
2020-10-29 17:28:26 +08:00
Popconfirm.install = (app: App): void => {
app.component(Popconfirm.name, Popconfirm)
}
2020-10-29 17:28:26 +08:00
const _Popconfirm: SFCWithInstall<typeof Popconfirm> = Popconfirm
export default _Popconfirm