@wordpress/media-utils
Version:
WordPress Media Upload Utils.
15 lines • 545 B
TypeScript
export interface UploadingFile {
id: string;
batchId: string;
name: string;
status: 'uploading' | 'uploaded' | 'error';
error?: string;
}
interface UploadStatusPopoverProps {
uploadingFiles: UploadingFile[];
onDismissError?: (fileId: string) => void;
onOpenChange?: (open: boolean) => void;
}
export declare function UploadStatusPopover({ uploadingFiles, onDismissError, onOpenChange, }: UploadStatusPopoverProps): import("react").JSX.Element | null;
export {};
//# sourceMappingURL=upload-status-popover.d.ts.map