import { ReactElement } from 'react'; export type NotificationTypes = 'warning' | 'success' | 'danger' | 'info'; export type NotificationType = { id?: string; customBody?: string | ReactElement; code?: string; comments?: string[]; commonNotification?: boolean; dismissed?: boolean; message?: string; timeStamp?: Date; type: NotificationTypes; text?: string | ReactElement; };