blob: 32e95989f449f7598530f9edc3aa2fb21109ba4d (
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 "../../../colors/index";
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;
|