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/Menu/HomePageMenu.js | 26 -------------------------- src/components/Menu/HomePageMenu.tsx | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 src/components/Menu/HomePageMenu.js create mode 100644 src/components/Menu/HomePageMenu.tsx (limited to 'src/components/Menu') diff --git a/src/components/Menu/HomePageMenu.js b/src/components/Menu/HomePageMenu.js deleted file mode 100644 index 92f2a8d..0000000 --- a/src/components/Menu/HomePageMenu.js +++ /dev/null @@ -1,26 +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 "./HomePageMenu.scss"; - -const HomePageMenu = () => { - return ( -
- - Create Invoice - - - Don't Create Invoice - -
- ) -} - -export default HomePageMenu diff --git a/src/components/Menu/HomePageMenu.tsx b/src/components/Menu/HomePageMenu.tsx new file mode 100644 index 0000000..db0938a --- /dev/null +++ b/src/components/Menu/HomePageMenu.tsx @@ -0,0 +1,26 @@ +/* + * 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 "./HomePageMenu.scss"; + +const HomePageMenu: React.FC = () => { + return ( +
+ + Create Invoice + + + Don't Create Invoice + +
+ ) +} + +export default HomePageMenu -- cgit v1.2.3