aboutsummaryrefslogtreecommitdiff
path: root/src/components/Form/RegisterItemForm.js
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-05-01 21:10:53 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-05-01 21:10:53 +0530
commit18dc01ae096b292ac40d41792459aec623f4f830 (patch)
tree6966c2c7113d743c4dfa13e50f4a39b678e945e1 /src/components/Form/RegisterItemForm.js
parent30accbc0ef5055a9210d4c108bf981589c568d3a (diff)
rewrote the stylesheet into something more readable. RegisterItemForm is completely broken rn
Diffstat (limited to 'src/components/Form/RegisterItemForm.js')
-rw-r--r--src/components/Form/RegisterItemForm.js38
1 files changed, 28 insertions, 10 deletions
diff --git a/src/components/Form/RegisterItemForm.js b/src/components/Form/RegisterItemForm.js
index ca4d991..fca0916 100644
--- a/src/components/Form/RegisterItemForm.js
+++ b/src/components/Form/RegisterItemForm.js
@@ -11,24 +11,41 @@
// TODO: Implement override protection
-import React, { useState } from "react";
-import axios from "axios";
+import React/*, { useState }*/ from "react";
+// import axios from "axios";
import "./Form.scss";
-const RegisterItemForm = (props) => {
- const [newItemNameValue, setNewItemNameValue] = useState("");
- const [newItemDescValue, setNewItemDescValue] = useState("");
- const [newItemPriceValue, setNewItemPriceValue] = useState(0.00);
- const [newItemHSNValue, setNewItemHSNValue] = useState("");
- const [newItemGSTValue, setNewItemGSTValue] = useState(props.defGSTValue);
+const RegisterItemForm = (/*props*/) => {
+// const [newItemNameValue, setNewItemNameValue] = useState("");
+// const [newItemDescValue, setNewItemDescValue] = useState("");
+// const [newItemPriceValue, setNewItemPriceValue] = useState(0.00);
+// const [newItemHSNValue, setNewItemHSNValue] = useState("");
+// const [newItemGSTValue, setNewItemGSTValue] = useState(props.defGSTValue);
// const [newItemBrandValue, setNewItemBrandValue] = useState("");
// const [newItemTypeValue, setNewItemTypeValue] = useState("");
return (
- <div className={"formContainer RegisterItemFormContainer"}>
- <form onSubmit={
+ <div className={"FloatingMenuBG"}>
+ <div className={"FloatingMenu"}>
+ <div className={"formContainer"}>
+ <form className={"twoPaneForm"}>
+ <div className={""}>
+ </div>
+
+ <div className={""}>
+ </div>
+ </form>
+ </div>
+ </div>
+ </div>
+ );
+
+ /*
+ return (
+ <div className={"formContainer"}>
+ <form className={"threePaneForm"} onSubmit={
(event) => {
event.preventDefault();
@@ -120,6 +137,7 @@ const RegisterItemForm = (props) => {
</form>
</div>
);
+ */
}
export default RegisterItemForm;