Wraps children
into a table with specified column number.
Below renders 2x3 table.
import {ListTable} from 'libreact/lib/ListTable';
<ListTable cols={2}>
<div>1</div>
<div>2</div>
<div>3</div>
<div>4</div>
<div>5</div>
<div>6</div>
</ListTable>
cols
— optional, number or columns table should have, defaults to3
.renderRow
— optional, function that receives an array of<td>
cells as React elements and should return a<tr>
React element, defaults tocells => h('tr', null, ...cells)
.