mirror of
https://github.com/ente-io/ente.git
synced 2025-08-13 17:57:31 +00:00
Upd
This commit is contained in:
@@ -236,16 +236,12 @@ export type FileViewerProps = ModalVisibilityProps & {
|
||||
* Called when the given {@link file} should be downloaded.
|
||||
*
|
||||
* If this is not provided then the download action will not be shown.
|
||||
*
|
||||
* See also: [Note: File viewer update and dispatch]
|
||||
*/
|
||||
onDownload?: (file: EnteFile) => void;
|
||||
/**
|
||||
* Called when the given {@link file} should be deleted.
|
||||
*
|
||||
* If this is not provided then the delete action will not be shown.
|
||||
*
|
||||
* See also: [Note: File viewer update and dispatch]
|
||||
*/
|
||||
onDelete?: (file: EnteFile) => Promise<void>;
|
||||
/**
|
||||
|
Reference in New Issue
Block a user