UNPKG

@react-google-maps/api

Version:
21 lines (20 loc) 738 B
/// <reference types="googlemaps" /> import * as React from "react"; interface BicyclingLayerState { bicyclingLayer: google.maps.BicyclingLayer | null; } export interface BicyclingLayerProps { onLoad?: (bicyclingLayer: google.maps.BicyclingLayer) => void; onUnmount?: (bicyclingLayer: google.maps.BicyclingLayer) => void; } export declare class BicyclingLayer extends React.PureComponent<BicyclingLayerProps, BicyclingLayerState> { static contextType: React.Context<google.maps.Map | null>; state: { bicyclingLayer: null; }; setBicyclingLayerCallback: () => void; componentDidMount(): void; componentWillUnmount(): void; render(): null; } export default BicyclingLayer;