import React from 'react' ; import cx from 'classnames' ; import { CellProps , UseRowSelectRowProps } from 'react-table' ; import { Checkbox } from '../../..' ; import { Track } from '../../../types' ; import styles from '../styles.scss' ; const SelectionCell = ( { cell , row } ) => < td { ... cell . getCellProps ( ) } className = { cx ( styles . select_cell , styles . narrow ) } > { } < Checkbox { ... row . getToggleRowSelectedProps ( ) } /> < /td>; export default SelectionCell ;