aboutsummaryrefslogtreecommitdiff
path: root/src/components/Tile
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Tile')
-rw-r--r--src/components/Tile/Tile.js19
-rw-r--r--src/components/Tile/Tile.scss8
2 files changed, 7 insertions, 20 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;
diff --git a/src/components/Tile/Tile.scss b/src/components/Tile/Tile.scss
index 54a5ad7..d1c62ce 100644
--- a/src/components/Tile/Tile.scss
+++ b/src/components/Tile/Tile.scss
@@ -1,12 +1,4 @@
@import "../../../styles/theme";
-@import "../../../styles/view";
-
-.view {
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- justify-content: center;;
-}
.tile {
width: 5rem;