import mitt from 'mitt';
const globalToastEvent = mitt();

export const ToastType = {
  SHOW_TODO: "show_todo",
  SHOW_RULE: "show_rule",
  SHOW_PRIZELIST: "show_prizelist",
  SHOW_LOTTERY: "show_lottery",
  SHOW_AD: "show_ad",
  SHOW_ADDRESS: "show_address",
  MOUNTED: "mounted",
  INFO_UPDATE: "info_update",
  SHOW_SWIPER: "game_swiper",
  SHOW_GAMEPAGE: "game_page",
  SHOW_GAMEDEMO: "game_demo",
  SHOW_SHAREPAGE: "share_page",
  SHOW_POPUPMORE: "popup_more",
  CLOSE_ALL: "close_all"
};

export default globalToastEvent;
