diff --git a/enums/Status.html b/enums/Status.html index b91582ff..8de8ae5d 100644 --- a/enums/Status.html +++ b/enums/Status.html @@ -1 +1 @@ -Status | @googlemaps/react-wrapper
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Enumeration members

Enumeration members

FAILURE = "FAILURE"
LOADING = "LOADING"
SUCCESS = "SUCCESS"

Generated using TypeDoc

\ No newline at end of file +Status | @googlemaps/react-wrapper
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Enumeration members

Enumeration members

FAILURE = "FAILURE"
LOADING = "LOADING"
SUCCESS = "SUCCESS"

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/WrapperProps.html b/interfaces/WrapperProps.html index 9ae67add..3d40d603 100644 --- a/interfaces/WrapperProps.html +++ b/interfaces/WrapperProps.html @@ -4,11 +4,11 @@ See the reference documentation for LoaderOptions for a complete list of all props that are available.

-

Hierarchy

Index

Properties

Methods

Properties

children?: ReactNode
+

Hierarchy

Index

Properties

Methods

Properties

children?: ReactNode

Children wrapped by the <Wrapper>{elements}</Wrapper.

-

Methods

  • callback(status: Status, loader: Loader): void

Methods

  • callback(status: Status, loader: Loader): void
  • Callback prop used to access @googlemaps/js-api-loader and Status.

    Note: The callback be executed multiple times in the lifecycle of the component.

    -

    Parameters

    Returns void

  • render(status: Status): ReactElement<any, string | JSXElementConstructor<any>>
  • render(status: Status): ReactElement<any, string | JSXElementConstructor<any>>
  • Render prop used to switch on the status.

    Parameters

    Returns ReactElement<any, string | JSXElementConstructor<any>>

Generated using TypeDoc

\ No newline at end of file diff --git a/modules.html b/modules.html index 9254a4e1..7cab6027 100644 --- a/modules.html +++ b/modules.html @@ -1,4 +1,4 @@ -@googlemaps/react-wrapper
Options
All
  • Public
  • Public/Protected
  • All
Menu

@googlemaps/react-wrapper

Index

Enumerations

Interfaces

Functions

Functions

  • Wrapper(props: WrapperProps): ReactElement<any, string | JSXElementConstructor<any>>
  • +@googlemaps/react-wrapper
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    @googlemaps/react-wrapper

    Index

    Enumerations

    Interfaces

    Functions

    Functions

    • Wrapper(props: WrapperProps): ReactElement<any, string | JSXElementConstructor<any>>
    • A component to wrap the loading of the Google Maps JavaScript API.

      import { Wrapper } from '@googlemaps/react-wrapper';

      const MyApp = () => (
      <Wrapper apiKey={'YOUR_API_KEY'}>
      <MyMapComponent />
      </Wrapper>
      );