diff --git a/react/Skeletons/ListItemSkeleton.jsx b/react/Skeletons/ListItemSkeleton.jsx index d4c58d2c0f..0eccf5a43f 100644 --- a/react/Skeletons/ListItemSkeleton.jsx +++ b/react/Skeletons/ListItemSkeleton.jsx @@ -7,10 +7,10 @@ import ListItemIcon from '../ListItemIcon' import ListItemText from '../ListItemText' import Skeleton from '../Skeleton' -const ListItemSkeleton = ({ hasSecondary, divider }) => { +const ListItemSkeleton = ({ hasSecondary, divider, gutters }) => { return ( <> - + - {variant => ( + {variant => { + const gutters = variant.disabledGutters ? 'disabled' : variant.doubleGutters ? 'double' : 'default' + + return ( - )} + )}} ```