From eedde57b9caff20e1e7d25b43fcb8785e23b3e11 Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Sun, 27 Jun 2021 14:47:48 +0530 Subject: Fixed DisplayItem and now really big decimal numbers don't show up --- src/components/Form/Document/DocumentInfoForm.js | 25 ------------------- src/components/Form/Document/DocumentInfoForm.tsx | 29 +++++++++++++++++++++++ 2 files changed, 29 insertions(+), 25 deletions(-) delete mode 100644 src/components/Form/Document/DocumentInfoForm.js create mode 100644 src/components/Form/Document/DocumentInfoForm.tsx (limited to 'src/components/Form/Document') diff --git a/src/components/Form/Document/DocumentInfoForm.js b/src/components/Form/Document/DocumentInfoForm.js deleted file mode 100644 index 09bb9c6..0000000 --- a/src/components/Form/Document/DocumentInfoForm.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 }*/ from "react"; -import "./../Form.scss"; - -import SelectClientForm from "./../People/SelectClientForm"; - - -const DocumentInfoForm = (props) => { - return ( -
- -
- ); -} - -export default DocumentInfoForm; diff --git a/src/components/Form/Document/DocumentInfoForm.tsx b/src/components/Form/Document/DocumentInfoForm.tsx new file mode 100644 index 0000000..7f33046 --- /dev/null +++ b/src/components/Form/Document/DocumentInfoForm.tsx @@ -0,0 +1,29 @@ +/* + * 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 }*/ from "react"; +import { Person } from "./../../../interfaces"; +import "./../Form.scss"; + +import SelectClientForm from "./../People/SelectClientForm"; + +interface Props { + savedPeople: Person[] +} + +const DocumentInfoForm: React.FC = (props) => { + return ( +
+ +
+ ); +} + +export default DocumentInfoForm; -- cgit v1.2.3