UNPKG

react-gapi

Version:
17 lines (16 loc) 513 B
/// <reference types="react" /> import { gapiObject } from './gapi'; export declare const GoogleApiContext: import("react").Context<GoogleApiContext>; export interface GoogleApiContext { gapi: gapiObject | undefined; configure?: configure; } export interface configure { (options: configureOptions, setState: (k: string) => void): gapiObject | undefined; } export interface configureOptions { discoveryDocs?: string[]; scopes?: string[]; modules?: string[]; requestScopes?: boolean; }