import React from "react";
import PropTypes from 'prop-types';
import Card from '@mui/material/Card';
import CardHeader from '@mui/material/CardHeader';
import CardContent from '@mui/material/CardContent';
import CardMedia from '@mui/material/CardMedia';
import Avatar from '@mui/material/Avatar';
import Typography from '@mui/material/Typography';
import IconButton from '@mui/material/IconButton';
import MoreVertIcon from '@mui/icons-material/MoreVert';
import Skeleton from '@mui/material/Skeleton';
function Media(props) {
const { loading = false } = props;
return (
) : (
)
}
action={
loading ? null : (
)
}
title={
loading ? (
) : (
'Ted'
)
}
subheader={
loading ? (
) : (
'5 hours ago'
)
}
/>
{loading ? (
) : (
)}
{loading ? (
) : (
{
"Why First Minister of Scotland Nicola Sturgeon thinks GDP is the wrong measure of a country's success:"
}
)}
);
}
Media.propTypes = {
loading: PropTypes.bool,
};
export default function WaveExample() {
return (
<>
Wave Example
<>
>
>
);
}