diff --git a/enums/Status.html b/enums/Status.html index e680b633..5c070a99 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"
+

Enumeration Members

FAILURE: "FAILURE"
LOADING: "LOADING"
SUCCESS: "SUCCESS"
diff --git a/functions/Wrapper.html b/functions/Wrapper.html index dee1e2b7..3c293e1e 100644 --- a/functions/Wrapper.html +++ b/functions/Wrapper.html @@ -2,4 +2,4 @@
import { Wrapper } from '@googlemaps/react-wrapper';

const MyApp = () => (
<Wrapper apiKey={'YOUR_API_KEY'}>
<MyMapComponent />
</Wrapper>
);
-
+
diff --git a/interfaces/WrapperProps.html b/interfaces/WrapperProps.html index c7d7f4c0..dd12ed17 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: Status, loader: Loader) => void);
    children?: ReactNode;
    render?: ((status: Status) => ReactElement<any, string | JSXElementConstructor<any>>);
}

Hierarchy

Properties

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

Hierarchy

  • LoaderOptions
    • WrapperProps

Properties

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.

-
children?: ReactNode

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

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

Render prop used to switch on the status.

-
+
children?: ReactNode

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

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

Render prop used to switch on the status.

+