import { styled } from '@mui/material/styles'; import PropTypes from 'prop-types'; import Box from '@mui/material/Box'; import Typography from '@mui/material/Typography'; import Avatar from '@mui/material/Avatar'; import Grid from '@mui/material/Grid'; import Skeleton from '@mui/material/Skeleton'; const Image = styled('img')({ width: '100%', }); function SkeletonChildrenDemo(props) { const { loading = false } = props; return (
{loading ? ( ) : ( )} {loading ? ( . ) : ( Ted )} {loading ? (
) : ( )}
); } SkeletonChildrenDemo.propTypes = { loading: PropTypes.bool, }; export default function SkeletonChildren() { return ( ); }