mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 17:31:02 +08:00
9ad78debcf
* fix(drawer): fix drawer implementation with hook * fix(drawer): fix drawer implementation - Make drawer implementation as the same as dialog * chore(drawer): documentation updates
10 lines
220 B
TypeScript
10 lines
220 B
TypeScript
import { App } from 'vue'
|
|
import Dialog from './src/index.vue'
|
|
|
|
Dialog.install = (app: App): void => {
|
|
app.component(Dialog.name, Dialog)
|
|
}
|
|
|
|
export default Dialog
|
|
export { default as useDialog } from './src/useDialog'
|