element-plus/packages/dialog/index.ts

10 lines
220 B
TypeScript
Raw Normal View History

import { App } from 'vue'
import Dialog from './src/index.vue'
2020-10-29 17:28:26 +08:00
Dialog.install = (app: App): void => {
app.component(Dialog.name, Dialog)
}
export default Dialog
export { default as useDialog } from './src/useDialog'