import { cn } from '~web/utils/helpers'; import { NotificationEvent, getComponentName, getEventSeverity, getTotalTime, } from './data'; import { CloseIcon } from './icons'; import { signalWidgetViews } from '~web/state'; export const NotificationHeader = ({ selectedEvent, }: { selectedEvent: NotificationEvent; }) => { const severity = getEventSeverity(selectedEvent); switch (selectedEvent.kind) { case 'interaction': { return ( // h-[48px] is a hack to adjust for header size