Nauseating Pumpkin Mush

    @types/react-google-maps-loader
    TypeScript icon, indicating that this package has built-in type declarations

    4.2.4 • Public • Published

    Installation

    npm install --save @types/react-google-maps-loader

    Summary

    This package contains type definitions for react-google-maps-loader (https://github.com/xuopled/react-google-maps-loader).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-google-maps-loader.

    index.d.ts

    // Type definitions for react-google-maps-loader 4.2
    // Project: https://github.com/xuopled/react-google-maps-loader
    // Definitions by: DefinitelyTyped <https://github.com/DefinitelyTyped>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    // TypeScript Version: 2.8
    
    /// <reference types="google.maps" />
    import { Component, ReactNode } from "react";
    
    export default ReactGoogleMapsLoader;
    
    declare class ReactGoogleMapsLoader extends Component<
        ReactGoogleMapsLoader.Props
    > {}
    
    declare namespace ReactGoogleMapsLoader {
        type GoogleMaps = typeof google.maps;
    
        interface Params {
            key: string;
            libraries?: string | undefined;
        }
    
        interface Props {
            params: Params;
            render: (googleMaps: GoogleMaps, error?: string | null) => ReactNode;
        }
    }

    Additional Details

    Credits

    These definitions were written by DefinitelyTyped.

    Keywords

    none

    Install

    npm i @types/react-google-maps-loader

    DownloadsWeekly Downloads

    847

    Version

    4.2.4

    License

    MIT

    Unpacked Size

    4.52 kB

    Total Files

    4

    Last publish

    Collaborators

    • types