Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 3167 Rev 3171
Línea 20... Línea 20...
20
  centered = true,
20
  centered = true,
21
  animation = true,
21
  animation = true,
22
  showFooter = true,
22
  showFooter = true,
23
  dialogClassName,
23
  dialogClassName,
24
  loading = false,
24
  loading = false,
25
  children
25
  children,
-
 
26
  formId = ''
26
}) => {
27
}) => {
27
  const labels = useSelector(({ intl }) => intl.labels)
28
  const labels = useSelector(({ intl }) => intl.labels)
Línea 28... Línea 29...
28
 
29
 
29
  return (
30
  return (
Línea 48... Línea 49...
48
        {loading ? <Spinner absolute /> : null}
49
        {loading ? <Spinner absolute /> : null}
49
      </BootstrapModal.Body>
50
      </BootstrapModal.Body>
Línea 50... Línea 51...
50
 
51
 
51
      {showFooter ? (
52
      {showFooter ? (
-
 
53
        <BootstrapModal.Footer className={styles['modal-footer']}>
-
 
54
          <Button
-
 
55
            color='primary'
52
        <BootstrapModal.Footer className={styles['modal-footer']}>
56
            onClick={onAccept}
-
 
57
            disabled={loading}
-
 
58
            form={formId}
53
          <Button color='primary' onClick={onAccept} disabled={loading}>
59
          >
54
            {labelAccept || labels.accept}
60
            {labelAccept || labels.accept}
55
          </Button>
61
          </Button>
56
          <Button color='secondary' onClick={onReject || onClose}>
62
          <Button color='secondary' onClick={onReject || onClose}>
57
            {labelReject || labels.cancel}
63
            {labelReject || labels.cancel}