aboutsummaryrefslogtreecommitdiff
path: root/src/components/Tile/Tile.js
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-03-29 21:32:28 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-03-29 21:32:28 +0530
commit4c92b12bcb886507d5db738a27bd08e7654f8bfa (patch)
tree9c336d38fe00965b90a9ff205c632e6c1b6aac75 /src/components/Tile/Tile.js
parentaef52169e3f0f9bde0e5f2dd21cbb316eaa34136 (diff)
Changed directory structer a but (?)
Diffstat (limited to 'src/components/Tile/Tile.js')
-rw-r--r--src/components/Tile/Tile.js19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/components/Tile/Tile.js b/src/components/Tile/Tile.js
index 6fa7f2c..2c67741 100644
--- a/src/components/Tile/Tile.js
+++ b/src/components/Tile/Tile.js
@@ -1,20 +1,15 @@
import React from "react";
// import React, { useState } from "react";
-import "./Tile.css";
+// import "./Tile.css";
const Tile = (props) => {
- // const [,] = useState()
-
- const style = {
- height: props.height;
- width: props.width;
- backgroundColor: props.colorBG
- // textColor: props.colorFG
- }
-
+ // const [activeLink, updateActiveLink] = useState("home")
return (
- <div className={"tile"} style={style}></div>
+ <div className={"tile"} style={{
+ "height": props.height,
+ "width": props.width
+ }}></div>
)
}
-export default Tile
+export default Tile;