@googlemaps/react-wrapper
    Preparing search index...

    Interface WrapperProps

    The WrapperProps interface extends the LoaderOptions interface from @googlemaps/js-api-loader. 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;
    }

    Hierarchy

    • LoaderOptions
      • WrapperProps
    Index

    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

    Render prop used to switch on the status.