mirror of
https://github.com/sstent/aicyclingcoach-go.git
synced 2026-01-26 17:12:23 +00:00
sync
This commit is contained in:
8
node_modules/react-leaflet/lib/Circle.js
generated
vendored
Normal file
8
node_modules/react-leaflet/lib/Circle.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import { createElementObject, createPathComponent, extendContext, updateCircle } from '@react-leaflet/core';
|
||||
import { Circle as LeafletCircle } from 'leaflet';
|
||||
export const Circle = createPathComponent(function createCircle({ center , children: _c , ...options }, ctx) {
|
||||
const circle = new LeafletCircle(center, options);
|
||||
return createElementObject(circle, extendContext(ctx, {
|
||||
overlayContainer: circle
|
||||
}));
|
||||
}, updateCircle);
|
||||
Reference in New Issue
Block a user