Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 1231 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1231 Rev 1330
Línea 15... Línea 15...
15
  labelReject = '',
15
  labelReject = '',
16
  size = 'md',
16
  size = 'md',
17
  backdrop = 'static',
17
  backdrop = 'static',
18
  centered = true,
18
  centered = true,
19
  animation = true,
19
  animation = true,
-
 
20
  showFooter = true,
20
  dialogClassName,
21
  dialogClassName,
21
  children
22
  children
22
}) => {
23
}) => {
23
  const labels = useSelector(({ intl }) => intl.labels)
24
  const labels = useSelector(({ intl }) => intl.labels)
Línea 37... Línea 38...
37
        <BootstrapModal.Title>{title}</BootstrapModal.Title>
38
        <BootstrapModal.Title>{title}</BootstrapModal.Title>
38
      </BootstrapModal.Header>
39
      </BootstrapModal.Header>
Línea 39... Línea 40...
39
 
40
 
Línea -... Línea 41...
-
 
41
      <BootstrapModal.Body>{children}</BootstrapModal.Body>
40
      <BootstrapModal.Body>{children}</BootstrapModal.Body>
42
 
41
 
43
      {showFooter ? (
42
      <BootstrapModal.Footer>
44
        <BootstrapModal.Footer>
43
        <ButtonPrimary
45
          <ButtonPrimary
44
          label={labelAccept || labels.accept}
46
            label={labelAccept || labels.accept}
45
          onClick={onAccept}
-
 
46
        />
47
            onClick={onAccept}
47
 
48
          />
48
        <ButtonTertiary
49
          <ButtonTertiary
49
          label={labelReject || labels.cancel}
50
            label={labelReject || labels.cancel}
50
          onClick={onReject}
51
            onClick={onReject}
-
 
52
          />
51
        />
53
        </BootstrapModal.Footer>
52
      </BootstrapModal.Footer>
54
      ) : null}
53
    </BootstrapModal>
55
    </BootstrapModal>
Línea 54... Línea 56...
54
  )
56
  )