blob: 9583b23419ab66157fd05eacfb4b2345de943d67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import React from "react";
import {Group} from "react-konva";
import {RACK_BACKGROUND_COLOR} from "../../../colors/index";
import Shapes from "../../../shapes/index";
import TileObject from "../elements/TileObject";
const RackGroup = ({tile}) => (
<Group>
<TileObject positionX={tile.positionX} positionY={tile.positionY} color={RACK_BACKGROUND_COLOR}/>
</Group>
);
RackGroup.propTypes = {
tile: Shapes.Tile,
};
export default RackGroup;
|