Skip to content

Commit

Permalink
πŸ’„ Sharing dialog use actual document icon (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericlinagora committed May 13, 2024
1 parent 430c7e8 commit 5d05326
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Base } from '@atoms/text';
import { FolderIcon } from '@heroicons/react/outline';
import { DocumentIcon } from '@views/client/body/drive/documents/document-icon';
import type { DriveItem } from 'app/features/drive/types';

export const CuteDepictionOfFolderHierarchy = (props: {
Expand All @@ -20,7 +21,7 @@ export const CuteDepictionOfFolderHierarchy = (props: {
β””
</div>
<div className="shrink pl-2">
<FolderIcon className="w-5 mr-2" />
<DocumentIcon className="w-5 mr-2" item={props.file} />
</div>
<div className="grow">
{props.file?.name}
Expand Down

0 comments on commit 5d05326

Please sign in to comment.