import { message } from '@easyv/react-gui';

export default {
  success: (content) => {
    message.success(content);
  },
  error: (content) => {
    message.error(content);
  },
  loading: (content, duration = 3) => {
    return message.loading(content, duration);
  },
  warning: (content) => {
    return message.warning(content);
  },
  destroy: () => {
    return message.destroy();
  }
};
