export type iconType = "info" | "success" | "warning" | "error" | "loading"; export type iconTypes = { [key in iconType]: string; }; export interface noticeOptions { content: string; duration?: number; type?: iconType; onClose?: () => any; background?: boolean; }