Agregar iconos X y Save a botones paciente y evolucion

This commit is contained in:
2026-04-15 02:13:07 -03:00
parent f289ef3839
commit b74030d225
2 changed files with 8 additions and 5 deletions
+3 -2
View File
@@ -1,5 +1,5 @@
import { useState } from 'react';
import { FileText, Plus, Search, Calendar, Clock, Thermometer, Heart, Activity, Wind, Droplets, Pencil, Trash2, ChevronDown, ChevronUp } from 'lucide-react';
import { FileText, Plus, Search, Calendar, Clock, Thermometer, Heart, Activity, Wind, Droplets, Pencil, Trash2, ChevronDown, ChevronUp, X, Save } from 'lucide-react';
import { Card, CardContent } from '@/components/ui/card';
import { Badge } from '@/components/ui/badge';
import { Button } from '@/components/ui/button';
@@ -387,13 +387,14 @@ export function Evoluciones({
</div>
<div className="flex justify-end gap-2 mt-4">
<Button variant="outline" onClick={() => { resetFormulario(); setDialogoAbierto(false); }}>
<X className="h-4 w-4 mr-2" />
Cancelar
</Button>
<Button
onClick={handleGuardar}
disabled={!medico || (!evolucionEditando && !pacienteSeleccionado)}
>
<Plus className="h-4 w-4 mr-2" />
<Save className="h-4 w-4 mr-2" />
Guardar Evolución
</Button>
</div>