UNPKG

@devino.solutions/upup

Version:
20 lines (19 loc) 993 B
import { GoogleFile, Root, User } from 'google'; import { MicrosoftUser, OneDriveFile, OneDriveRoot } from 'microsoft'; import React, { Dispatch, SetStateAction } from 'react'; declare type Props = { isClickLoading?: boolean; driveFiles?: OneDriveRoot | Root; path: Root[] | OneDriveRoot[]; setPath: Dispatch<SetStateAction<Array<Root>>> | Dispatch<SetStateAction<Array<OneDriveRoot>>>; user?: MicrosoftUser | User; handleSignOut: () => Promise<void>; handleClick: ((file: OneDriveFile) => Promise<void>) | ((file: GoogleFile | Root) => void); selectedFiles: OneDriveFile[] | GoogleFile[]; showLoader: boolean; handleSubmit: () => Promise<void>; downloadProgress: number; handleCancelDownload: () => void; }; export default function DriveBrowser({ isClickLoading, driveFiles, path, setPath, handleClick, selectedFiles, showLoader, handleSubmit, handleCancelDownload, ...rest }: Readonly<Props>): React.JSX.Element; export {};