All files / src/components/Patientlist/Addpatient Addpatient.js

0% Statements 0/8
100% Branches 0/0
0% Functions 0/1
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                                         
import React from 'react';
// import i18next from 'i18next';
import { Button, Grid } from '@material-ui/core';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faPlus } from '@fortawesome/pro-light-svg-icons';
import i18next from '../../../common/i18next';
 
require('pegasus/build-creation/registry.css');
 
const Addpatient = () => {
    return (
        <Grid className='add-patient_button'>
            <Button variant='contained' color='primary' aria-label='Add'>
                <FontAwesomeIcon icon={faPlus} className='icon-plus' />
                {i18next.t('patientBrowser.buttons.addpatient')}
            </Button>
        </Grid>
    );
};
export default Addpatient;