diff options
Diffstat (limited to 'src/components/Tile/Tile.js')
-rw-r--r-- | src/components/Tile/Tile.js | 19 |
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; |