aboutsummaryrefslogtreecommitdiff
path: root/src/components/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/App.js')
-rw-r--r--src/components/App.js22
1 files changed, 20 insertions, 2 deletions
diff --git a/src/components/App.js b/src/components/App.js
index d8e94d3..3d184b2 100644
--- a/src/components/App.js
+++ b/src/components/App.js
@@ -2,15 +2,33 @@ 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":"3%",},
+ {
+ "Model": "Supreme Chair",
+ "Description":"Even better chair",
+ "Price":"2134983",
+ "Discount":"9%",
+ }
+]
+
+console.log("sample data:", sampleData);
+
+
+
const App = () => {
return (
<>
<Header/>
<div className={"root-content"}>
- <BillingForm/>
+ <BillingForm savedItems={sampleData} />
</div>
</>
- )
+ );
}
export default App;