aboutsummaryrefslogtreecommitdiff
path: root/src/components/Tile/Tile.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Tile/Tile.js')
-rw-r--r--src/components/Tile/Tile.js20
1 files changed, 20 insertions, 0 deletions
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 (
+ <div className={"tile"} style={style}></div>
+ )
+}
+
+export default Tile