Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 4037 Rev 4038
Línea 1... Línea 1...
1
/* eslint-disable react/prop-types */
1
/* eslint-disable react/prop-types */
2
import React from "react";
2
import React from "react";
3
import { useDispatch } from "react-redux";
3
import { useDispatch } from "react-redux";
4
import { openShareModal } from "../../../redux/share-modal/shareModal.actions";
4
import { openShareModal } from "../../../redux/share-modal/shareModal.actions";
5
import { shareModalTypes } from "../../../redux/share-modal/shareModal.types";
5
import { shareModalTypes } from "../../../redux/share-modal/shareModal.types";
6
import { FaVideo } from 'react-icons/fa'
-
 
7
import { CgImage } from 'react-icons/cg'
-
 
8
import { CgLoadbarDoc } from 'react-icons/cg'
-
 
Línea 9... Línea 6...
9
 
6
 
10
const ShareFeed = ({
7
const ShareFeed = ({
11
  feedType,
8
  feedType,
12
  postUrl,
9
  postUrl,
Línea 39... Línea 36...
39
        <div className='shareRowContainer'>
36
        <div className='shareRowContainer'>
40
          <button
37
          <button
41
            className='shareIconContainer'
38
            className='shareIconContainer'
42
            onClick={() => onClickHandler(shareModalTypes.VIDEO)}
39
            onClick={() => onClickHandler(shareModalTypes.VIDEO)}
43
          >
40
          >
44
            <FaVideo  className='shareIcon' />
41
            <img src="/icons/camera.png"  className='shareIcon' />
45
          </button>
42
          </button>
46
          <button
43
          <button
47
            className='shareIconContainer'
44
            className='shareIconContainer'
48
            onClick={() => onClickHandler(shareModalTypes.IMAGE)}
45
            onClick={() => onClickHandler(shareModalTypes.IMAGE)}
49
          >
46
          >
50
            <CgImage className='shareIcon' />
47
            <img src="/icons/image.png" className='shareIcon' />
51
          </button>
48
          </button>
52
          <button
49
          <button
53
            className='shareIconContainer'
50
            className='shareIconContainer'
54
            onClick={() => onClickHandler(shareModalTypes.FILE)}
51
            onClick={() => onClickHandler(shareModalTypes.FILE)}
55
          >
52
          >
56
            <CgLoadbarDoc className='shareIcon' />
53
            <img src="/icons/doc.png" className='shareIcon' />
57
          </button>
54
          </button>
58
          <button
55
          <button
59
            className={`shareIconContainer iconActive`}
56
            className={`shareIconContainer iconActive`}
60
            onClick={() => onClickHandler(shareModalTypes.POST)}
57
            onClick={() => onClickHandler(shareModalTypes.POST)}
61
          >
58
          >
62
            <i className='shareIcon' />
59
            <img src="/icons/send.png" className='shareIcon' />
63
          </button>
60
          </button>
64
        </div>
61
        </div>
65
      </form>
62
      </form>
66
    </div >
63
    </div >
67
  );
64
  );