Rev 3694 |
|
Comparar con el anterior |
Ultima modificación |
Ver Log
|
| Rev |
Autor |
Línea Nro. |
Línea |
| 3719 |
stevensc |
1 |
import React from 'react';
|
|
|
2 |
import CheckCircle from '@mui/icons-material/CheckCircle';
|
|
|
3 |
import { Button, Typography } from '@mui/material';
|
|
|
4 |
|
|
|
5 |
export function CapsuleSuccessFeedback({ onConfirm, text }) {
|
|
|
6 |
return (
|
|
|
7 |
<>
|
|
|
8 |
<CheckCircle color='success' sx={{ position: 'absolute', top: 1, right: 1 }} />
|
|
|
9 |
<Typography variant='h3'>{text}</Typography>
|
|
|
10 |
<Button color='primary' onClick={onConfirm} sx={{ mt: 1 }}>
|
|
|
11 |
Salir
|
|
|
12 |
</Button>
|
|
|
13 |
</>
|
|
|
14 |
);
|
|
|
15 |
}
|