refactor: move ATTACHMENT_ICONS to constants

This commit is contained in:
Shivam Mishra
2023-10-10 19:18:34 +05:30
parent 7abe5b01dc
commit c114cc7fa0
2 changed files with 10 additions and 8 deletions
@@ -146,3 +146,12 @@ export const MESSAGE_VARIABLES = [
key: 'agent.email',
},
];
export const ATTACHMENT_ICONS = {
image: 'image',
audio: 'headphones-sound-wave',
video: 'video',
file: 'document',
location: 'location',
fallback: 'link',
};