aboutsummaryrefslogtreecommitdiff
path: root/src/components/BillingPage.js
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-04-16 16:21:24 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-04-16 16:21:24 +0530
commitd105cf0f6dd91d7d7a38eb7fe9193f6c0e5d1f7f (patch)
treec1f5b1ab0bfa806ce938f0994cbad6faeb1e4b40 /src/components/BillingPage.js
parent17c22b6078057ff70ad80e4315a8d7758a0605e4 (diff)
fixed the naming scheme and made the AddNewItemForm more smarter
Diffstat (limited to 'src/components/BillingPage.js')
-rw-r--r--src/components/BillingPage.js12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/components/BillingPage.js b/src/components/BillingPage.js
index 6e76cf0..066b30b 100644
--- a/src/components/BillingPage.js
+++ b/src/components/BillingPage.js
@@ -1,5 +1,5 @@
import React from "react";
-import BillingForm from "./Form/Form.js";
+import AddNewItemForm from "./Form/AddNewItemForm.js";
const sampleData = [
@@ -13,13 +13,21 @@ const sampleData = [
"Description": "Even better chair",
"Price": "2134983",
"Discount": ""
+ }, {
+ "Model": "Action Houseware",
+ "Description": "Not a chair",
+ "Price": "69",
+ "Discount": ""
}
];
const BillingPage = () => {
return (
<>
- <BillingForm savedItems={sampleData} />
+ <AddNewItemForm savedItems={sampleData} />
+ <AddNewItemForm savedItems={sampleData} />
+ <AddNewItemForm savedItems={sampleData} />
+ <AddNewItemForm savedItems={sampleData} />
</>
);
}