blob: 9c01df6347f3896a09d056f9251e0592c5a554a8 (
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;
|