From 0d90508977837bec25f038fe5380e6fb3bc82745 Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Fri, 25 Jun 2021 18:24:41 +0530 Subject: converted all the smaller files to tsx --- src/components/Header/Header.js | 30 ------------------------------ src/components/Header/Header.tsx | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 30 deletions(-) delete mode 100644 src/components/Header/Header.js create mode 100644 src/components/Header/Header.tsx (limited to 'src/components/Header') diff --git a/src/components/Header/Header.js b/src/components/Header/Header.js deleted file mode 100644 index a1bd097..0000000 --- a/src/components/Header/Header.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * OpenBills - Self hosted browser app to generate and keep track of simple invoices - * Version - 0 - * Licensed under the MIT license - https://opensource.org/licenses/MIT - * - * Copyright (c) 2021 Vidhu Kant Sharma -*/ - -import React from "react"; -import {Link} from "react-router-dom"; -import "./Header.scss"; - -const Header = () => { - return ( -
-
-

OpenBills

- -
-
- -
-
- ) -} - -export default Header diff --git a/src/components/Header/Header.tsx b/src/components/Header/Header.tsx new file mode 100644 index 0000000..bff61b6 --- /dev/null +++ b/src/components/Header/Header.tsx @@ -0,0 +1,30 @@ +/* + * OpenBills - Self hosted browser app to generate and keep track of simple invoices + * Version - 0 + * Licensed under the MIT license - https://opensource.org/licenses/MIT + * + * Copyright (c) 2021 Vidhu Kant Sharma +*/ + +import React from "react"; +import { Link } from "react-router-dom"; +import "./Header.scss"; + +const Header: React.FC = () => { + return ( +
+
+

OpenBills

+
+ +
+ +
+
+ ) +} + +export default Header -- cgit v1.2.3