@smitch/fluid
Version:
A lightweight, Tailwind-powered React/Next.js UI component library.
14 lines • 714 B
JavaScript
'use client';
import { jsx as _jsx } from "react/jsx-runtime";
import { Circle, Popup } from 'react-leaflet';
var MapCircle = function (_a) {
var position = _a.position, radius = _a.radius, fill = _a.fill, stroke = _a.stroke, fillOpacity = _a.fillOpacity, _b = _a.opacity, opacity = _b === void 0 ? 1 : _b, popupContent = _a.popupContent;
return (_jsx(Circle, { center: position, radius: radius, pathOptions: {
fillColor: fill,
fillOpacity: fillOpacity,
color: stroke ? fill : undefined,
opacity: opacity,
}, children: popupContent && _jsx(Popup, { children: popupContent }) }));
};
export default MapCircle;
//# sourceMappingURL=LazyMapCircle.js.map