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);