mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 12:11:47 +00:00
Update Polygon, PolygonProps.
This commit is contained in:
Vendored
+2
-2
@@ -245,10 +245,10 @@ export interface PolylineProps extends PathProps {
|
||||
}
|
||||
export class Polyline<P extends PolylineProps, E extends Leaflet.Polyline> extends Path<P, E> { }
|
||||
|
||||
interface PolygonProps extends PathProps {
|
||||
export interface PolygonProps extends PathProps {
|
||||
positions: Leaflet.LatLngExpression[] | Leaflet.LatLngExpression[][] | Leaflet.LatLngExpression[][][];
|
||||
}
|
||||
export const Polygon: React.ComponentClass<PolygonProps>;
|
||||
export class Polygon<P extends PolygonProps, E extends Leaflet.Polygon> extends Path<P, E> { }
|
||||
|
||||
interface RectangleProps extends PathProps {
|
||||
bounds: Leaflet.LatLngBoundsExpression;
|
||||
|
||||
Reference in New Issue
Block a user