text: import React from 'react';
  
  import Button from '@material-ui/core/Button';
  import Dialog from '@material-ui/core/Dialog';
  import DialogActions from '@material-ui/core/DialogActions';
  import DialogContent from '@material-ui/core/DialogContent';
  import DialogContentText from '@material-ui/core/DialogContentText';
  import DialogTitle from '@material-ui/core/DialogTitle';
  
  function Alert(props) {
  
  	return (
  		<Dialog
  			open={props.open}
  			onClose={props.handleClose}
  		>
  			<DialogTitle>{props.DialogTitle || ''}</DialogTitle>
  			<DialogContent>
  				<DialogContentText id="alert-dialog-description">
            Are you sure you want to delete this coin?
  				</DialogContentText>
  			</DialogContent>
  			<DialogActions>
  				<Button onClick={props.handleClose} color="primary">
  					{ props.declineButton }
  				</Button>
  				<Button onClick={props.handleConfirm} color="primary" autoFocus>
  					{ props.confirmButton }
  				</Button>
  			</DialogActions>
  		</Dialog>
  	);
  }
  
  export default Alert;