Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 3104 Rev 3694
Línea 1... Línea 1...
1
import React, { useState } from 'react'
1
import React, { useState } from 'react';
2
import { Button, Typography } from '@mui/material'
2
import { Button, Typography } from '@mui/material';
3
import { East } from '@mui/icons-material'
3
import East from '@mui/icons-material/East';
Línea 4... Línea 4...
4
 
4
 
Línea 5... Línea 5...
5
import { parse } from '@utils'
5
import { parse } from '@utils';
6
 
6
 
Línea 7... Línea 7...
7
import Widget from '@components/UI/Widget'
7
import Widget from '@components/UI/Widget';
8
import CompanyInfoModal from '@components/modals/CompanyInfoModal'
8
import CompanyInfoModal from '@components/modals/CompanyInfoModal';
Línea 9... Línea 9...
9
 
9
 
Línea 10... Línea 10...
10
export default function AboutCompany({ company: { overview, ...company } }) {
10
export default function AboutCompany({ company: { overview, ...company } }) {
11
  const [showModal, setShowModal] = useState(false)
11
  const [showModal, setShowModal] = useState(false);
12
 
12
 
13
  const toggleModal = () => setShowModal(!showModal)
13
  const toggleModal = () => setShowModal(!showModal);
Línea 26... Línea 26...
26
            <East />
26
            <East />
27
          </Button>
27
          </Button>
28
        </Widget.Actions>
28
        </Widget.Actions>
29
      </Widget>
29
      </Widget>
Línea 30... Línea -...
30
 
-
 
31
      <CompanyInfoModal
-
 
32
        show={showModal}
-
 
33
        company={company}
30
 
34
        closeModal={toggleModal}
-
 
35
      />
31
      <CompanyInfoModal show={showModal} company={company} closeModal={toggleModal} />
36
    </>
32
    </>
37
  )
33
  );