Files
storage-service-ui/src/components/table/TableRow.js

13 lines
300 B
JavaScript

import Component from '../component/index';
import RowCol from './RowCol';
class TableRow extends Component {
constructor (parentNode, cols, row) {
super(null, parentNode);
this.cols = cols.map((col) => new RowCol(this.mainNode, row[col.id]));
}
}
export default TableRow;