import React, { useState, useEffect } from 'react';


import { notification } from 'antd';

const Notify = (type, msg, description = '') => {
  notification[type]({
    message: msg,
    description: description
  });
};

export default Notify