blob: 768be2f6e5097d7984bef868c72b2f2dc3e001a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import React from "react";
import "./Display.css";
const DisplayItem = (props) => {
const itemNumber = props.itemNumber;
const item = props.item;
return (
<tr>
<td>{itemNumber}</td>
<td className={"leftAlign"}>{item.Model}</td>
<td className={"leftAlign"}>{item.Description}</td>
<td>{item.Quantity}</td>
<td>{item.Price}</td>
<td>{item.Discount}</td>
<td>{item.GST}</td>
</tr>
);
}
export default DisplayItem;
|