💄 Sharing dialog use actual document icon (#50)
This commit is contained in:
committed by
ericlinagora
parent
430c7e83e7
commit
5d0532669c
+2
-1
@@ -1,5 +1,6 @@
|
|||||||
import { Base } from '@atoms/text';
|
import { Base } from '@atoms/text';
|
||||||
import { FolderIcon } from '@heroicons/react/outline';
|
import { FolderIcon } from '@heroicons/react/outline';
|
||||||
|
import { DocumentIcon } from '@views/client/body/drive/documents/document-icon';
|
||||||
import type { DriveItem } from 'app/features/drive/types';
|
import type { DriveItem } from 'app/features/drive/types';
|
||||||
|
|
||||||
export const CuteDepictionOfFolderHierarchy = (props: {
|
export const CuteDepictionOfFolderHierarchy = (props: {
|
||||||
@@ -20,7 +21,7 @@ export const CuteDepictionOfFolderHierarchy = (props: {
|
|||||||
└
|
└
|
||||||
</div>
|
</div>
|
||||||
<div className="shrink pl-2">
|
<div className="shrink pl-2">
|
||||||
<FolderIcon className="w-5 mr-2" />
|
<DocumentIcon className="w-5 mr-2" item={props.file} />
|
||||||
</div>
|
</div>
|
||||||
<div className="grow">
|
<div className="grow">
|
||||||
{props.file?.name}
|
{props.file?.name}
|
||||||
|
|||||||
Reference in New Issue
Block a user