element-plus/packages/components/message/index.ts
三咲智子 9575d111c2
refactor(components): refactor message (#3524)
* refactor(components): refactor message

* chore: remove unused
2021-09-22 01:40:18 +08:00

9 lines
238 B
TypeScript

import { withInstallFunction } from '@element-plus/utils/with-install'
import Message from './src/message-method'
export const ElMessage = withInstallFunction(Message, '$message')
export default ElMessage
export * from './src/message'