diff options
author | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-03-29 21:32:28 +0530 |
---|---|---|
committer | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-03-29 21:32:28 +0530 |
commit | 4c92b12bcb886507d5db738a27bd08e7654f8bfa (patch) | |
tree | 9c336d38fe00965b90a9ff205c632e6c1b6aac75 /src/components/Tile | |
parent | aef52169e3f0f9bde0e5f2dd21cbb316eaa34136 (diff) |
Changed directory structer a but (?)
Diffstat (limited to 'src/components/Tile')
-rw-r--r-- | src/components/Tile/Tile.js | 19 | ||||
-rw-r--r-- | src/components/Tile/Tile.scss | 8 |
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; |