element-plus/packages/components/notification/index.ts
三咲智子 2431b589af
refactor(components): refactor notification (#3495)
* refactor(components): refactor notification

* chore: fix type

* refactor(components): improve vnode

* Update notification.vue
2021-09-22 01:19:35 +08:00

9 lines
242 B
TypeScript

import { withInstallFunction } from '@element-plus/utils/with-install'
import Notify from './src/notify'
export const ElNotification = withInstallFunction(Notify, '$notify')
export default ElNotification
export * from './src/notification'