All files / src/components/Patientlist/Checkbox SelectCheckbox.js

0% Statements 0/7
0% Branches 0/2
0% Functions 0/2
0% Lines 0/7
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16                               
import React from 'react';
import Checkbox from '@material-ui/core/Checkbox';
import { faLessThanEqual } from '@fortawesome/pro-regular-svg-icons';
 
class SelectCheckbox extends React.Component {
    render() {
        const { onSelectAllCheckboxClick, index, isSelectAllCheck } = this.props;
        return (
            <div>
                <Checkbox checked={isSelectAllCheck ? true : false} onClick={(event) => onSelectAllCheckboxClick(event, index)} value='checked' color='primary'/>
            </div>
        );
    }
}
export default SelectCheckbox;