X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fmap%2FButtons.js;h=b07fba66a69134809195632e6c3b290937ebbef8;hb=ac4ef598bf174ff342a261787ba6e9555003cbbb;hp=fdffe92cdbfd57b75f7daeb14f6d7e7fb79c765c;hpb=f17b9f3b6f7f9e678c681c719eea6fb5c41a387f;p=alttp.git diff --git a/resources/js/components/map/Buttons.js b/resources/js/components/map/Buttons.js index fdffe92..b07fba6 100644 --- a/resources/js/components/map/Buttons.js +++ b/resources/js/components/map/Buttons.js @@ -1,26 +1,48 @@ +import PropTypes from 'prop-types'; import React from 'react'; -import { Button } from 'react-bootstrap'; +import { Button, Form } from 'react-bootstrap'; import { useTranslation } from 'react-i18next'; import { useOpenSeadragon } from './OpenSeadragon'; -const Buttons = () => { +const Buttons = ({ setUWOverlay, uwOverlay }) => { const { activeMap, setActiveMap } = useOpenSeadragon(); const { t } = useTranslation(); - return