From aef52169e3f0f9bde0e5f2dd21cbb316eaa34136 Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Sat, 27 Mar 2021 21:24:54 +0530 Subject: laid out some very basic components, the tile component still needs to be worked upon --- src/components/Tile/Tile.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/components/Tile/Tile.js (limited to 'src/components/Tile/Tile.js') diff --git a/src/components/Tile/Tile.js b/src/components/Tile/Tile.js new file mode 100644 index 0000000..6fa7f2c --- /dev/null +++ b/src/components/Tile/Tile.js @@ -0,0 +1,20 @@ +import React from "react"; +// import React, { useState } from "react"; +import "./Tile.css"; + +const Tile = (props) => { + // const [,] = useState() + + const style = { + height: props.height; + width: props.width; + backgroundColor: props.colorBG + // textColor: props.colorFG + } + + return ( +
+ ) +} + +export default Tile -- cgit v1.2.3