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/Pages/HomePage.js | 25 ------------------------- src/components/Pages/HomePage.tsx | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 25 deletions(-) delete mode 100644 src/components/Pages/HomePage.js create mode 100644 src/components/Pages/HomePage.tsx (limited to 'src/components/Pages') diff --git a/src/components/Pages/HomePage.js b/src/components/Pages/HomePage.js deleted file mode 100644 index face5fd..0000000 --- a/src/components/Pages/HomePage.js +++ /dev/null @@ -1,25 +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/*, { useState, useEffect } */from "react"; -import "./HomePage.scss" -//import axios from "axios"; - -//import BillingPage from "./BillingPage" -import HomePageMenu from "./../Menu/HomePageMenu" - -const HomePage = () => { - return ( -
-

Welcome To OpenBills

- -
- ); -} - -export default HomePage; diff --git a/src/components/Pages/HomePage.tsx b/src/components/Pages/HomePage.tsx new file mode 100644 index 0000000..34a52bd --- /dev/null +++ b/src/components/Pages/HomePage.tsx @@ -0,0 +1,23 @@ +/* + * 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 "./HomePage.scss" + +import HomePageMenu from "./../Menu/HomePageMenu" + +const HomePage: React.FC = () => { + return ( +
+

Welcome To OpenBills

+ +
+ ); +} + +export default HomePage; -- cgit v1.2.3