aboutsummaryrefslogtreecommitdiff
path: root/src/components/App.js
blob: 3d184b296c1d5a7bc534a6a549c1c6e8e1dce73f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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 savedItems={sampleData} />
			</div>
		</>
	);
}

export default App;