diff --git a/docs/data/material/integrations/routing/ListRouter.js b/docs/data/material/integrations/routing/ListRouter.js index f503a9f39cf918..04567b05e8df20 100644 --- a/docs/data/material/integrations/routing/ListRouter.js +++ b/docs/data/material/integrations/routing/ListRouter.js @@ -1,8 +1,9 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import List from '@mui/material/List'; -import Box from '@mui/material/Box'; import ListItem from '@mui/material/ListItem'; +import Box from '@mui/material/Box'; +import ListItemButton from '@mui/material/ListItemButton'; import Paper from '@mui/material/Paper'; import ListItemIcon from '@mui/material/ListItemIcon'; import ListItemText from '@mui/material/ListItemText'; @@ -44,12 +45,10 @@ function ListItemLink(props) { const { icon, primary, to } = props; return ( -
  • - - {icon ? {icon} : null} - - -
  • + + {icon ? {icon} : null} + + ); } @@ -78,13 +77,21 @@ export default function ListRouter() { - } /> - } /> + + } /> + + + } /> + - - + + + + + + diff --git a/docs/data/material/integrations/routing/ListRouter.tsx b/docs/data/material/integrations/routing/ListRouter.tsx index 1900b67cf2d582..bbd759bbfa8ae3 100644 --- a/docs/data/material/integrations/routing/ListRouter.tsx +++ b/docs/data/material/integrations/routing/ListRouter.tsx @@ -1,7 +1,8 @@ import * as React from 'react'; import List from '@mui/material/List'; -import Box from '@mui/material/Box'; import ListItem from '@mui/material/ListItem'; +import Box from '@mui/material/Box'; +import ListItemButton from '@mui/material/ListItemButton'; import Paper from '@mui/material/Paper'; import ListItemIcon from '@mui/material/ListItemIcon'; import ListItemText from '@mui/material/ListItemText'; @@ -48,12 +49,10 @@ function ListItemLink(props: ListItemLinkProps) { const { icon, primary, to } = props; return ( -
  • - - {icon ? {icon} : null} - - -
  • + + {icon ? {icon} : null} + + ); } @@ -76,13 +75,21 @@ export default function ListRouter() { - } /> - } /> + + } /> + + + } /> + - - + + + + + +