blob: 9bc28331a5bea7542a7725a488084ff4540e3c84 (
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 tile={tile} color={RACK_BACKGROUND_COLOR}/>
</Group>
);
RackGroup.propTypes = {
tile: Shapes.Tile,
};
export default RackGroup;
|