summaryrefslogtreecommitdiff
path: root/src/components/app/map/elements/Backdrop.js
blob: 5741446306aaa51c67c1b9fca800720e5370dc85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import React from "react";
import { Rect } from "react-konva";
import { BACKDROP_COLOR } from "../../../../util/colors";
import { MAP_SIZE_IN_PIXELS } from "../MapConstants";

const Backdrop = () => (
  <Rect
    x={0}
    y={0}
    width={MAP_SIZE_IN_PIXELS}
    height={MAP_SIZE_IN_PIXELS}
    fill={BACKDROP_COLOR}
  />
);

export default Backdrop;