aboutsummaryrefslogtreecommitdiff
path: root/src/components/Form/Document/DocumentInfoForm.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Form/Document/DocumentInfoForm.tsx')
-rw-r--r--src/components/Form/Document/DocumentInfoForm.tsx29
1 files changed, 29 insertions, 0 deletions
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> = (props) => {
+ return (
+ <div className={"DocumentInfoForm"}>
+ <SelectClientForm
+ savedPeople={props.savedPeople}
+ />
+ </div>
+ );
+}
+
+export default DocumentInfoForm;