
notification.open({
? ? ? ? message: 'Notification:New Call Inbound',
? ? ? ? description:
? ? ? ? ? <div>
? ? ? ? ? ? <div>Account:{accountName}</div>
? ? ? ? ? ? <div>Customer:{contactName}</div>
? ? ? ? ? ? <div>Phone#:{phoneNumber}</div>
? ? ? ? ? ? <div><a>{caseName}</a></div>
? ? ? ? ? </div>,
? ? ? ? icon: <PhoneOutlined />,
? ? ? ? style: {
? ? ? ? ? backgroundColor: '#FF4D4F'
? ? ? ? },
? ? ? ? duration: null,
? ? ? ? top: 100,
? ? ? ? maxCount: 4,
? ? ? ? onClick: () => {
? ? ? ? ? history.push(`/Case/view/` + caseId);
? ? ? ? ? setTimeout(() => {
? ? ? ? ? ? notification.destroy()
? ? ? ? ? }, 1000);
? ? ? ? },
? ? ? })