fileIcons.ts
TLDR
This file provides a constant object FileIcons
that maps file types to corresponding icon names.
Methods
N/A
Classes
N/A
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
const FileIcons: Record<string, string> = {
AUDIO_TYPES: 'file-audio-outline',
CODE_TYPES: 'file-code-outline-large',
IMAGE_TYPES: 'file-image-outline-large',
PDF_TYPES: 'file-pdf-outline-large',
PATCH_TYPES: 'file-patch-outline-large',
PRESENTATION_TYPES: 'file-powerpoint-outline-large',
SPREADSHEET_TYPES: 'file-excel-outline-large',
TEXT_TYPES: 'file-text-outline-large',
VIDEO_TYPES: 'file-video-outline-large',
WORD_TYPES: 'file-word-outline-large',
COMPRESSED_TYPES: 'file-zip-outline-large',
}
export default FileIcons