Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 3538 | Rev 3544 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3538 Rev 3539
Línea 7... Línea 7...
7
  onCancel: () => {},
7
  onCancel: () => {},
8
  showAlert: () => {},
8
  showAlert: () => {},
9
  closeAlert: () => {}
9
  closeAlert: () => {}
10
});
10
});
Línea 11... Línea 11...
11
 
11
 
12
export function ModalProvider({ children }) {
12
export function AlertModalProvider({ children }) {
13
  const [show, setShow] = useState(false);
13
  const [show, setShow] = useState(false);
14
  const [message, setMessage] = useState('');
14
  const [message, setMessage] = useState('');
15
  const [onConfirm, setOnConfirm] = useState(() => {});
15
  const [onConfirm, setOnConfirm] = useState(() => {});