Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 4313 Rev 4314
Línea 2... Línea 2...
2
import React, { useEffect } from 'react'
2
import React, { useEffect } from 'react'
3
import ExpandMoreIcon from '@mui/icons-material/ExpandMore'
3
import ExpandMoreIcon from '@mui/icons-material/ExpandMore'
4
import GroupIcon from '@mui/icons-material/Group'
4
import GroupIcon from '@mui/icons-material/Group'
5
import { useState } from 'react'
5
import { useState } from 'react'
6
import axios from '../../../../utils/axios'
6
import axios from '../../../../utils/axios'
-
 
7
import EmptySection from '../../../../shared/empty-section/EmptySection'
Línea 7... Línea 8...
7
 
8
 
8
const HelpersContainer = (props) => {
9
const HelpersContainer = (props) => {
9
  const [recentItem1, setrecentItem1] = useState(false)
10
  const [recentItem1, setrecentItem1] = useState(false)
Línea 46... Línea 47...
46
  return (
47
  return (
47
    <div className='sidebar__recent-item__container'>
48
    <div className='sidebar__recent-item__container'>
Línea 48... Línea 49...
48
 
49
 
49
      <section className='sidebar__recent-item'>
50
      <section className='sidebar__recent-item'>
50
        <p>{title}</p>
-
 
51
 
51
        <p>{title}</p>
52
        <div className='sidebar__recent-actions'>
52
        <div className='sidebar__recent-actions'>
53
          <button className='sidebar__recent-icon'>
53
          <button className='sidebar__recent-icon' onClick={() => setLookMore(!lookMore)}>
54
            <ExpandMoreIcon />
54
            <ExpandMoreIcon />
55
          </button>
55
          </button>
-
 
56
        </div>
Línea 56... Línea -...
56
        </div>
-
 
57
 
57
      </section>
58
 
58
 
59
        <ul className=''>
59
      <ul className={`helper__list ${lookMore ? 'show' : 'hide'}`}>
60
          <li className=''>
60
        {widgetData.length
61
            <a className=''
-
 
62
              href=''
61
          ? dataSlice().map(({ id, name, profile }) =>
63
            >
62
            <li key={id}>
64
              <div className=''>
63
              <a href={profile} className='sidebar__stat'>
65
                <GroupIcon />
64
                <GroupIcon />
66
                <span>React Native</span>
65
                <span>{name}</span>
67
              </div>
66
              </a>
-
 
67
            </li>
68
            </a>
68
          )
-
 
69
          : <EmptySection message='Sin resultados' />
69
          </li>
70
        }
Línea 70... Línea 71...
70
        </ul>
71
 
71
      </section>
72
      </ul>
72
 
73