12
src/components/Map.js
Normal file
12
src/components/Map.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import React from "react";
|
||||
import { Image, Flex } from "theme-ui";
|
||||
|
||||
function Map({ imageSource }) {
|
||||
return (
|
||||
<Flex sx={{ justifyContent: "center", flexGrow: 1 }} bg="background">
|
||||
<Image src={imageSource} sx={{ objectFit: "contain" }} />
|
||||
</Flex>
|
||||
);
|
||||
}
|
||||
|
||||
export default Map;
|
||||
Reference in New Issue
Block a user