From a4bd1d2ab7739135954a4248d4d6bd36b728c010 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 18 May 2021 16:54:44 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Allow=20adding=20more=20componen?= =?UTF-8?q?ts=20to=20BoxMap?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nest_frontend/components/base/BoxMap.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nest_frontend/components/base/BoxMap.js b/nest_frontend/components/base/BoxMap.js index cf8cf43..5dda737 100644 --- a/nest_frontend/components/base/BoxMap.js +++ b/nest_frontend/components/base/BoxMap.js @@ -4,7 +4,7 @@ import BoxFull from "./BoxFull" import { MapContainer, TileLayer } from "react-leaflet" -export default function BoxMap({ header, setMap, startingPosition, startingZoom, button, ...props }) { +export default function BoxMap({ header, setMap, startingPosition, startingZoom, button, children, additions, ...props }) { return ( + {additions}
{button}