Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 4956 Rev 4957
Línea 38... Línea 38...
38
    )
38
    )
39
}
39
}
Línea 40... Línea 40...
40
 
40
 
41
const Item = ({ Icon, title, url, childs = [] }) => {
41
const Item = ({ Icon, title, url, childs = [] }) => {
42
    return (
42
    return (
43
        <ListItem sx={{padding: '0 1rem'}}>
43
        <ListItem disablePadding>
44
            {!childs.length
44
            {!childs.length
45
                ?
45
                ?
46
                <Link href={`/${url}`} display='flex' gap='.5rem'>
46
                <Link href={`/${url}`} display='flex' gap='.5rem' paddingLeft='1rem'>
47
                    <ListItemIcon>
47
                    <ListItemIcon>
48
                        {Icon && <Icon />}
48
                        {Icon && <Icon />}
49
                    </ListItemIcon>
49
                    </ListItemIcon>
50
                    <ListItemText primary={title} />
50
                    <ListItemText primary={title} />