|
import React from 'react';
|
|
import TableSelectionCell from '../components/TableSelectionCell';
|
|
|
|
export default (
|
|
selectionController,
|
|
additionalData,
|
|
before,
|
|
after,
|
|
) => (
|
|
<TableSelectionCell
|
|
id={`select${additionalData.rowIndex}`}
|
|
checked={selectionController.isSelected(additionalData)}
|
|
onChange={() => selectionController.selectRow(additionalData)}
|
|
before={before}
|
|
after={after}
|
|
/>
|
|
);
|