From d105cf0f6dd91d7d7a38eb7fe9193f6c0e5d1f7f Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Fri, 16 Apr 2021 16:21:24 +0530 Subject: fixed the naming scheme and made the AddNewItemForm more smarter --- src/components/BillingPage.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/components/BillingPage.js') 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 ( <> - + + + + ); } -- cgit v1.2.3