element-plus/packages/components/message/index.ts
2022-02-09 16:59:08 +08:00

9 lines
228 B
TypeScript

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