Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 2482 Rev 2496
Línea 1... Línea 1...
1
import React, { useState } from 'react'
1
import React, { useState } from 'react'
2
import { Collapse, List, ListItemButton, ListItemText } from '@mui/material'
2
import { Collapse, List, ListItemButton, ListItemText } from '@mui/material'
3
import { ExpandLess, ExpandMore } from '@mui/icons-material'
3
import { ExpandLess, ExpandMore } from '@mui/icons-material'
Línea 4... Línea 4...
4
 
4
 
-
 
5
import Widget from '@app/components/UI/Widget'
Línea 5... Línea 6...
5
import Widget from '@app/components/UI/Widget'
6
import { Link } from 'react-router-dom'
6
 
7
 
Línea 7... Línea 8...
7
export default function HabitsMenu() {
8
export default function HabitsMenu() {
Línea 17... Línea 18...
17
          {open ? <ExpandLess /> : <ExpandMore />}
18
          {open ? <ExpandLess /> : <ExpandMore />}
18
        </ListItemButton>
19
        </ListItemButton>
Línea 19... Línea 20...
19
 
20
 
20
        <Collapse in={open} timeout='auto' unmountOnExit>
21
        <Collapse in={open} timeout='auto' unmountOnExit>
-
 
22
          <List disablePadding>
21
          <List disablePadding>
23
            <ListItemButton
-
 
24
              sx={{ pl: 4 }}
-
 
25
              LinkComponent={Link}
-
 
26
              href='paradigms'
22
            <ListItemButton sx={{ pl: 4 }}>
27
            >
23
              <ListItemText primary='Paradigmas' />
28
              <ListItemText primary='Paradigmas' />
24
            </ListItemButton>
29
            </ListItemButton>
25
            <ListItemButton sx={{ pl: 4 }}>
30
            <ListItemButton sx={{ pl: 4 }} LinkComponent={Link} href='values'>
26
              <ListItemText primary='Valores' />
31
              <ListItemText primary='Valores' />
27
            </ListItemButton>
32
            </ListItemButton>
28
            <ListItemButton sx={{ pl: 4 }}>
33
            <ListItemButton sx={{ pl: 4 }} LinkComponent={Link} href='purpose'>
29
              <ListItemText primary='Propósito' />
34
              <ListItemText primary='Propósito' />
30
            </ListItemButton>
35
            </ListItemButton>
31
          </List>
36
          </List>
Línea 32... Línea 37...
32
        </Collapse>
37
        </Collapse>
33
 
38
 
34
        <ListItemButton>
39
        <ListItemButton LinkComponent={Link} href='goals'>
35
          <ListItemText primary='Metas' />
40
          <ListItemText primary='Metas' />
36
        </ListItemButton>
41
        </ListItemButton>
37
      </List>
42
      </List>