diff --git a/web/package.json b/web/package.json
index 5dab093c..52b53c70 100644
--- a/web/package.json
+++ b/web/package.json
@@ -3,6 +3,9 @@
"version": "0.1.0",
"private": true,
"dependencies": {
+ "@fortawesome/fontawesome-svg-core": "^1.2.26",
+ "@fortawesome/free-solid-svg-icons": "^5.12.0",
+ "@fortawesome/react-fontawesome": "^0.1.8",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
diff --git a/web/src/FilesTabsPanel.js b/web/src/FilesTabsPanel.js
index bfc281f1..944ca8d7 100644
--- a/web/src/FilesTabsPanel.js
+++ b/web/src/FilesTabsPanel.js
@@ -2,6 +2,8 @@ import React from "react";
import styled from "styled-components";
import theme from "./theme";
+import { TableIcon } from "./icons";
+
const files = [
{ name: "app.js" },
{ name: "BranchCategory", type: "table", selected: true },
@@ -22,6 +24,14 @@ const FileTabItem = styled.div`
props.selected ? theme.mainArea.background : "inherit"};
`;
+const FileNameWrapper = styled.span`
+ margin-left: 5px;
+`;
+
export default function FilesTabsPanel() {
- return files.map(file => {file.name});
+ return files.map(file => (
+
+ {file.name}
+
+ ));
}
diff --git a/web/src/Screen.js b/web/src/Screen.js
index 13c7872d..b2bbacec 100644
--- a/web/src/Screen.js
+++ b/web/src/Screen.js
@@ -3,6 +3,10 @@ import theme from "./theme";
import styled from "styled-components";
import FilesTabsPanel from "./FilesTabsPanel";
+
+import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
+import { faTable } from '@fortawesome/free-solid-svg-icons'
+
const BodyDiv = styled.div`
position: fixed;
top: ${theme.tabsPanel.height}px;
@@ -52,7 +56,7 @@ const StausBar = styled.div`
export default function Screen({ children }) {
return (
<>
-
+
diff --git a/web/src/icons/TableIcon.js b/web/src/icons/TableIcon.js
new file mode 100644
index 00000000..22131399
--- /dev/null
+++ b/web/src/icons/TableIcon.js
@@ -0,0 +1,40 @@
+import React from "react";
+
+export default function TableIcon({ size=16 }) {
+ return (
+
+ );
+}
diff --git a/web/src/icons/index.js b/web/src/icons/index.js
new file mode 100644
index 00000000..11e4e0b6
--- /dev/null
+++ b/web/src/icons/index.js
@@ -0,0 +1,3 @@
+
+export { default as TableIcon } from "./TableIcon";
+
diff --git a/web/yarn.lock b/web/yarn.lock
index 78ac39a2..b5f96776 100644
--- a/web/yarn.lock
+++ b/web/yarn.lock
@@ -988,6 +988,32 @@
resolved "https://registry.yarnpkg.com/@emotion/unitless/-/unitless-0.7.5.tgz#77211291c1900a700b8a78cfafda3160d76949ed"
integrity sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg==
+"@fortawesome/fontawesome-common-types@^0.2.26":
+ version "0.2.26"
+ resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-0.2.26.tgz#6e0b13a752676036f8196f8a1500d53a27b4adc1"
+ integrity sha512-CcM/fIFwZlRdiWG/25xE/wHbtyUuCtqoCTrr6BsWw7hH072fR++n4L56KPydAr3ANgMJMjT8v83ZFIsDc7kE+A==
+
+"@fortawesome/fontawesome-svg-core@^1.2.26":
+ version "1.2.26"
+ resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-1.2.26.tgz#671569271d6b532cdea5e3deb8ff16f8b7ac251d"
+ integrity sha512-3Dfd/v2IztP1TxKOxZiB5+4kaOZK9mNy0KU1vVK7nFlPWz3gzxrCWB+AloQhQUoJ8HhGqbzjliK89Vl7PExGbw==
+ dependencies:
+ "@fortawesome/fontawesome-common-types" "^0.2.26"
+
+"@fortawesome/free-solid-svg-icons@^5.12.0":
+ version "5.12.0"
+ resolved "https://registry.yarnpkg.com/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-5.12.0.tgz#8decac5844e60453cc0c7c51437d1461df053a35"
+ integrity sha512-CnpsWs6GhTs9ekNB3d8rcO5HYqRkXbYKf2YNiAlTWbj5eVlPqsd/XH1F9If8jkcR1aegryAbln/qYeKVZzpM0g==
+ dependencies:
+ "@fortawesome/fontawesome-common-types" "^0.2.26"
+
+"@fortawesome/react-fontawesome@^0.1.8":
+ version "0.1.8"
+ resolved "https://registry.yarnpkg.com/@fortawesome/react-fontawesome/-/react-fontawesome-0.1.8.tgz#cb6d4dd3aeec45b6ff2d48c812317a6627618511"
+ integrity sha512-I5h9YQg/ePA3Br9ISS18fcwOYmzQYDSM1ftH03/8nHkiqIVHtUyQBw482+60dnzvlr82gHt3mGm+nDUp159FCw==
+ dependencies:
+ prop-types "^15.5.10"
+
"@hapi/address@2.x.x":
version "2.1.4"
resolved "https://registry.yarnpkg.com/@hapi/address/-/address-2.1.4.tgz#5d67ed43f3fd41a69d4b9ff7b56e7c0d1d0a81e5"
@@ -8203,7 +8229,7 @@ prompts@^2.0.1:
kleur "^3.0.3"
sisteransi "^1.0.3"
-prop-types@^15.5.4, prop-types@^15.6.2, prop-types@^15.7.2:
+prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.6.2, prop-types@^15.7.2:
version "15.7.2"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5"
integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==