aboutsummaryrefslogtreecommitdiff
path: root/src/components/Header
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-25 18:24:41 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-25 18:24:41 +0530
commit0d90508977837bec25f038fe5380e6fb3bc82745 (patch)
treef3e0eac29224dc46bbcdf59881f7912000624b3d /src/components/Header
parent6874be2c3016b872016ba32181823a8e1232a1a7 (diff)
converted all the smaller files to tsx
Diffstat (limited to 'src/components/Header')
-rw-r--r--src/components/Header/Header.tsx (renamed from src/components/Header/Header.js)24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/components/Header/Header.js b/src/components/Header/Header.tsx
index a1bd097..bff61b6 100644
--- a/src/components/Header/Header.js
+++ b/src/components/Header/Header.tsx
@@ -7,23 +7,23 @@
*/
import React from "react";
-import {Link} from "react-router-dom";
+import { Link } from "react-router-dom";
import "./Header.scss";
-const Header = () => {
- return (
- <div className={"header"}>
- <div className="placeholder">
- <p className="inlineBlock">OpenBills</p>
+const Header: React.FC = () => {
+ return (
+ <div className={"header"}>
+ <div className="placeholder">
+ <p className="inlineBlock">OpenBills</p>
+ </div>
- </div>
- <div className={"navBar"}>
- <nav>
+ <div className={"navBar"}>
+ <nav>
<Link to="/">Home</Link>
<Link to="/BillingPage">BillingPage</Link>
- </nav>
- </div>
- </div>
+ </nav>
+ </div>
+ </div>
)
}