Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 1442 Rev 1567
Línea 5... Línea 5...
5
import { addNotification } from '../../../../redux/notification/notification.actions'
5
import { addNotification } from '../../../../redux/notification/notification.actions'
Línea 6... Línea 6...
6
 
6
 
7
import Modal from 'components/UI/modal/Modal'
7
import Modal from 'components/UI/modal/Modal'
8
import TextInput from 'components/UI/inputs/TextInput'
8
import TextInput from 'components/UI/inputs/TextInput'
9
import FormErrorFeedback from 'components/UI/form/FormErrorFeedback'
9
import FormErrorFeedback from 'components/UI/form/FormErrorFeedback'
Línea 10... Línea 10...
10
import { ButtonPrimary } from '@buttons'
10
import Button from '@app/components/UI/buttons/Buttons'
11
 
11
 
12
const SharePopup = ({ shareData, onClose, onError, show }) => {
12
const SharePopup = ({ shareData, onClose, onError, show }) => {
13
  const [shareUrl, setShareUrl] = useState('')
13
  const [shareUrl, setShareUrl] = useState('')
Línea 66... Línea 66...
66
        </FormErrorFeedback>
66
        </FormErrorFeedback>
67
      ) : null}
67
      ) : null}
Línea 68... Línea 68...
68
 
68
 
Línea 69... Línea 69...
69
      <TextInput type='text' value={shareUrl} readOnly />
69
      <TextInput type='text' value={shareUrl} readOnly />
-
 
70
 
-
 
71
      <Button variant='primary' onClick={copyClicked}>
70
 
72
        {getButtonText(state)}
71
      <ButtonPrimary label={getButtonText(state)} onClick={copyClicked} />
73
      </Button>
72
    </Modal>
74
    </Modal>
Línea 73... Línea 75...
73
  )
75
  )