UNPKG

@devino.solutions/upup

Version:
13 lines (12 loc) 476 B
/// <reference types="react" /> import { GoogleFile, Root, Token } from 'google'; export default function useGoogleDriveUploader(token?: Token): { path: Root[]; setPath: import("react").Dispatch<import("react").SetStateAction<Root[]>>; handleClick: (file: GoogleFile | Root) => void; selectedFiles: GoogleFile[]; showLoader: boolean; handleSubmit: () => Promise<void>; downloadProgress: number; handleCancelDownload: () => void; };