From 846045be86a93a51c879d0cd2402227057dec092 Mon Sep 17 00:00:00 2001 From: googlemaps-bot Date: Mon, 13 May 2024 04:18:28 +0000 Subject: [PATCH] chore(deps-dev): bump @testing-library/dom from 10.0.0 to 10.1.0 (#820) Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library) from 10.0.0 to 10.1.0. - [Release notes](https://github.com/testing-library/dom-testing-library/releases) - [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md) - [Commits](https://github.com/testing-library/dom-testing-library/compare/v10.0.0...v10.1.0) --- updated-dependencies: - dependency-name: "@testing-library/dom" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3183162a3149665f935dea644e153c324217c612 --- enums/Status.html | 4 ++-- functions/Wrapper.html | 2 +- interfaces/WrapperProps.html | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/enums/Status.html b/enums/Status.html index ae01fb60..dd1f87d7 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"
\ No newline at end of file +

Enumeration Members

FAILURE: "FAILURE"
LOADING: "LOADING"
SUCCESS: "SUCCESS"
\ No newline at end of file diff --git a/functions/Wrapper.html b/functions/Wrapper.html index 765f7c37..f58ae5ff 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>>

\ No newline at end of file +

Parameters

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

\ No newline at end of file diff --git a/interfaces/WrapperProps.html b/interfaces/WrapperProps.html index 7dc0c450..0e30b99d 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

  • LoaderOptions
    • WrapperProps

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>>

\ 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>>

\ No newline at end of file