function GoogleAddressLookup(props) {
    const { apiKey, ...rest } = props;

    // eslint-disable-next-line react-hooks/exhaustive-deps
    const Component = useCallback(
        scriptLoader(`${googleMapApiUrl}?key=${apiKey}&libraries=places`)(PlacesLookupComponent),
        [apiKey],
    );

    // eslint-disable-next-line react/jsx-props-no-spreading
    return <Component {...rest} />;
}
The GoogleAddressLookup component is used to find a location.
@category Form