From 1fdc8689ac8e07d4f596f54eb593cfb24393078f Mon Sep 17 00:00:00 2001 From: David Schneider Date: Thu, 13 Apr 2017 16:15:49 -0700 Subject: [PATCH] Update AttributionControl, AttributionControlProps. --- types/react-leaflet/index.d.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/types/react-leaflet/index.d.ts b/types/react-leaflet/index.d.ts index fb1cf59d93..55edeec211 100644 --- a/types/react-leaflet/index.d.ts +++ b/types/react-leaflet/index.d.ts @@ -272,10 +272,8 @@ export interface GeoJSONProps extends PathProps, Leaflet.GeoJSONOptions { } export class GeoJSON

extends Path { } -interface AttributionControlProps { - position?: Leaflet.ControlPosition; -} -export const AttributionControl: React.ComponentClass; +export interface AttributionControlProps extends MapControlProps, Leaflet.Control.AttributionOptions { } +export class AttributionControl

extends MapControl { } interface LayersControlProps { position?: Leaflet.ControlPosition;