diff --git a/enums/Status.html b/enums/Status.html index d37d6066..883de4f4 100644 --- a/enums/Status.html +++ b/enums/Status.html @@ -1,4 +1,4 @@ -Status | @googlemaps/react-wrapper

Enumeration Members

FAILURE +Status | @googlemaps/react-wrapper

Enumeration Members

Enumeration Members

FAILURE: "FAILURE"
LOADING: "LOADING"
SUCCESS: "SUCCESS"

Generated using TypeDoc

\ No newline at end of file +

Enumeration Members

FAILURE: "FAILURE"
LOADING: "LOADING"
SUCCESS: "SUCCESS"

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/Wrapper.html b/functions/Wrapper.html index 6ce1eb3b..ad96a19b 100644 --- a/functions/Wrapper.html +++ b/functions/Wrapper.html @@ -1,4 +1,4 @@ Wrapper | @googlemaps/react-wrapper
  • 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>
    );
    -

    Parameters

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

Generated using TypeDoc

\ No newline at end of file +

Parameters

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

Generated using TypeDoc

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

-
interface WrapperProps {
    callback?: ((status, loader) => void);
    children?: ReactNode;
    render?: ((status) => ReactElement<any, string | JSXElementConstructor<any>>);
}

Hierarchy

Properties

interface WrapperProps {
    callback?: ((status, loader) => void);
    children?: ReactNode;
    render?: ((status) => ReactElement<any, string | JSXElementConstructor<any>>);
}

Hierarchy

  • LoaderOptions
    • WrapperProps

Properties

callback?: ((status, 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.

-

Type declaration

    • (status, loader): void
    • Parameters

      Returns void

children?: ReactNode

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

-
render?: ((status) => ReactElement<any, string | JSXElementConstructor<any>>)

Render prop used to switch on the status.

-

Type declaration

    • (status): ReactElement<any, string | JSXElementConstructor<any>>
    • Parameters

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

Generated using TypeDoc

\ No newline at end of file +

Type declaration

    • (status, loader): void
    • Parameters

      Returns void

children?: ReactNode

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

+
render?: ((status) => ReactElement<any, string | JSXElementConstructor<any>>)

Render prop used to switch on the status.

+

Type declaration

    • (status): ReactElement<any, string | JSXElementConstructor<any>>
    • Parameters

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

Generated using TypeDoc

\ No newline at end of file