aboutsummaryrefslogtreecommitdiff
path: root/src/components/App.js
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-04-15 23:16:16 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-04-15 23:16:16 +0530
commitf98be4ca3816dcad16029fee30b66c9219c4cd57 (patch)
treeae6c2166ad2e04e7046e8abbfdf3cf179a40474d /src/components/App.js
parent8ab93681fddf6c104d02f5123e293a5da25b311b (diff)
laid out the BillingForm elements in a sexy way
Diffstat (limited to 'src/components/App.js')
-rw-r--r--src/components/App.js18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/components/App.js b/src/components/App.js
index c1bae4f..d2b7d21 100644
--- a/src/components/App.js
+++ b/src/components/App.js
@@ -1,27 +1,13 @@
import React from "react";
import Header from "./Header/Header";
-import BillingForm from "./Form/Form.js";
-
-const sampleData = [
- {
- "Model": "Kisan Chair",
- "Description": "Very good chair",
- "Price": "10000",
- "Discount": ""}
- , {
- "Model": "Supreme Chair",
- "Description": "Even better chair",
- "Price": "2134983",
- "Discount": ""
- }
-]
+import BillingPage from "./BillingPage";
const App = () => {
return (
<>
<Header/>
<div className={"root-content"}>
- <BillingForm savedItems={sampleData} />
+ <BillingPage />
</div>
</>
);