element-plus/packages/components/message/index.ts

9 lines
228 B
TypeScript
Raw Normal View History

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'