From 80c4ec28ff107a36597b2dd348488bf81b9a8896 Mon Sep 17 00:00:00 2001 From: googlemaps-bot Date: Mon, 2 Dec 2024 04:36:47 +0000 Subject: [PATCH] chore(deps-dev): bump prettier from 3.3.3 to 3.4.1 (#848) Bumps [prettier](https://github.com/prettier/prettier) from 3.3.3 to 3.4.1. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.3.3...3.4.1) --- updated-dependencies: - dependency-name: prettier 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> 749d5bb7f040d2dcf94153778ad6105d26d442d3 --- 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 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>
);
-
  • 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 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

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

+