import {Flex} from '@chakra-ui/react'; import {MapContainer, TileLayer} from 'react-leaflet'; import SimpleMarkerBar from './SimpleMarkerBar'; import 'leaflet/dist/leaflet.css'; type MapBarProps = { lat: string; lon: string; name: string; align: 'left' | 'right'; }; export default function MapBar({lat, lon, name}: MapBarProps) { return ( ); }