Added Icon for shared albums in collection card

This commit is contained in:
Anand Dubey 2023-01-10 01:00:32 +05:30 committed by Ananddubey01
parent d352a0490f
commit 815334155e

View file

@ -12,6 +12,7 @@ import { Box } from '@mui/material';
import { CollectionSummaryType } from 'constants/collection';
import Favorite from '@mui/icons-material/FavoriteRounded';
import ArchiveOutlined from '@mui/icons-material/ArchiveOutlined';
import GroupIcon from '@mui/icons-material/Group';
interface Iprops {
active: boolean;
@ -52,6 +53,7 @@ function CollectionCardIcon({ collectionType }) {
{collectionType === CollectionSummaryType.archived && (
<ArchiveOutlined />
)}
{collectionType === CollectionSummaryType.shared && <GroupIcon />}
</CollectionBarTileIcon>
);
}