From becb276b53fe4fa8ff18826ca3ab17fe4efa5be4 Mon Sep 17 00:00:00 2001 From: googlemaps-bot Date: Mon, 9 Dec 2024 04:09:23 +0000 Subject: [PATCH] chore(deps-dev): bump eslint-plugin-react from 7.35.0 to 7.37.2 (#849) Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.35.0 to 7.37.2. - [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases) - [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md) - [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.0...v7.37.2) --- updated-dependencies: - dependency-name: eslint-plugin-react 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> 5f26c702254f1b8b657fa4ecb2397c447c09c7d2 --- 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 5c070a99..ec933e15 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 3c293e1e..3b264bdb 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>
);
-
  • Parameters

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

+
  • Parameters

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

diff --git a/interfaces/WrapperProps.html b/interfaces/WrapperProps.html index dd12ed17..2bd230ba 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

  • LoaderOptions
    • WrapperProps

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.

+