19 lines
359 B
JavaScript
19 lines
359 B
JavaScript
import { Component } from 'react'
|
|
|
|
export default class ItemRow extends Component {
|
|
constructor ({ scanResult }) {
|
|
super()
|
|
this.scanResult = scanResult
|
|
}
|
|
|
|
render () {
|
|
return (
|
|
<tr>
|
|
<td>{this.scanResult.name}</td>
|
|
<td>{this.scanResult.partsPrice}</td>
|
|
<td>{this.scanResult.setPrice}</td>
|
|
</tr>
|
|
)
|
|
}
|
|
}
|