Skip to content

Commit 90bc3f4

Browse files
chore: added new notification icons (#546)
* chore: added new notification icons
1 parent 3212bef commit 90bc3f4

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

src/Notifications/utils.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ import { useEffect } from 'react';
22

33
import { getConfig } from '@edx/frontend-platform';
44
import { logError } from '@edx/frontend-platform/logging';
5-
import { QuestionAnswerOutline, PostOutline } from '@edx/paragon/icons';
5+
import {
6+
QuestionAnswerOutline,
7+
PostOutline,
8+
Report,
9+
Verified,
10+
} from '@edx/paragon/icons';
611

712
export const splitNotificationsByTime = (notificationList) => {
813
let splittedData = [];
@@ -34,6 +39,9 @@ export const getIconByType = (type) => {
3439
new_response: { icon: QuestionAnswerOutline, class: 'text-primary-500' },
3540
new_comment: { icon: QuestionAnswerOutline, class: 'text-primary-500' },
3641
new_comment_on_response: { icon: QuestionAnswerOutline, class: 'text-primary-500' },
42+
content_reported: { icon: Report, class: 'text-danger' },
43+
response_endorsed: { icon: Verified, class: 'text-primary-500' },
44+
response_endorsed_on_thread: { icon: Verified, class: 'text-primary-500' },
3745
};
3846
return iconMap[type] || { icon: PostOutline, class: 'text-primary-500' };
3947
};

0 commit comments

Comments
 (0)