import { Skeleton as MuiSkeleton } from '@mui/material'; import type { ReactElement } from 'react'; import { useStyles } from './ListItem.styles'; type TextSkeletonProps = { secondaryText?: boolean; }; export const TextSkeleton = ({ secondaryText }: TextSkeletonProps): ReactElement => { const { classes } = useStyles(); return ( {!!secondaryText && } ); };