import React from 'react' ; import { FormatterProps } from 'react-data-grid-temp' ; import { Checkbox } from '../../index' ; export const MultipleSelectColumn = ( props ) => ( < Checkbox checked = { props . isRowSelected } onClick = { ( e ) => { e . stopPropagation ( ) ; } } onChange = { ( e ) => { const { checked } = e . target ; props . onRowSelectionChange ( checked , ( e . nativeEvent as MouseEvent ) . shiftKey ) ; } } />);