All files / src/containers/PatientDetails/components/PatientDetailsHeader PatientDetailsHeaderButton.js

0% Statements 0/9
100% Branches 0/0
0% Functions 0/2
0% Lines 0/8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31                                                             
import React from 'react';
import { Button, Grid } from '@material-ui/core';
import { withStyles } from '@material-ui/core/styles';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faQrcode } from '@fortawesome/pro-light-svg-icons';
 
 
const styles = theme => ({
    button: {
        margin: theme.spacing.unit,
    },
    leftIcon: {
        marginRight: theme.spacing.unit,
    },
});
 
function ActionField(props) {
    const { generateQRCode } = props;
    return (
        <Grid className='actionfield'>
        {/* <Button variant='contained' color='primary' aria-label='Add' onClick={generateQRCode}>
            <FontAwesomeIcon  icon={faQrcode} className='icon-QRcode' />
            GENERATE QR CODE
            {i18next.t('patientBrowser.buttons.addpatient')}
        </Button> */}
    </Grid>
    );
}
 
export default withStyles(styles)(ActionField);