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);
|