react-leaflet
Version:
React components for Leaflet maps
8 lines (7 loc) • 388 B
TypeScript
/// <reference types="react" />
import { LayerProps } from '@react-leaflet/core';
import { TileLayer as LeafletTileLayer, TileLayerOptions } from 'leaflet';
export interface TileLayerProps extends TileLayerOptions, LayerProps {
url: string;
}
export declare const TileLayer: import("react").ForwardRefExoticComponent<TileLayerProps & import("react").RefAttributes<LeafletTileLayer>>;