@smitch/fluid
Version:
A lightweight, Tailwind-powered React/Next.js UI component library.
9 lines • 472 B
JavaScript
'use client';
import { jsx as _jsx } from "react/jsx-runtime";
import { Polygon, Popup } from 'react-leaflet';
var MapPolygon = function (_a) {
var positions = _a.positions, fill = _a.fill, stroke = _a.stroke, popupContent = _a.popupContent;
return (_jsx(Polygon, { positions: positions, fillColor: fill, stroke: stroke, children: popupContent && _jsx(Popup, { children: popupContent }) }));
};
export default MapPolygon;
//# sourceMappingURL=LazyMapPolygon.js.map