Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
47 lines
1.5 KiB
TypeScript
47 lines
1.5 KiB
TypeScript
import AspectRatio from '@mui/joy/AspectRatio';
|
|
import Stack from '@mui/joy/Stack';
|
|
import Button from '@mui/joy/Button';
|
|
import Card from '@mui/joy/Card';
|
|
import CardContent from '@mui/joy/CardContent';
|
|
import Skeleton from '@mui/joy/Skeleton';
|
|
import Typography from '@mui/joy/Typography';
|
|
|
|
export default function AnimationSkeleton() {
|
|
return (
|
|
<Stack spacing={2} useFlexGap>
|
|
<Card variant="outlined" sx={{ width: 343 }}>
|
|
<CardContent orientation="horizontal">
|
|
<Skeleton animation="wave" variant="circular" width={48} height={48} />
|
|
<div>
|
|
<Skeleton animation="wave" variant="text" sx={{ width: 120 }} />
|
|
<Skeleton
|
|
animation="wave"
|
|
variant="text"
|
|
level="body-sm"
|
|
sx={{ width: 200 }}
|
|
/>
|
|
</div>
|
|
</CardContent>
|
|
<AspectRatio ratio="21/9">
|
|
<Skeleton animation="wave" variant="overlay">
|
|
<img
|
|
alt=""
|
|
src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="
|
|
/>
|
|
</Skeleton>
|
|
</AspectRatio>
|
|
<Typography sx={{ overflow: 'hidden' }}>
|
|
<Skeleton animation="wave">
|
|
Lorem ipsum is placeholder text commonly used in the graphic, print, and
|
|
publishing industries.
|
|
</Skeleton>
|
|
</Typography>
|
|
<Button>
|
|
Read more
|
|
<Skeleton animation="wave" />
|
|
</Button>
|
|
</Card>
|
|
</Stack>
|
|
);
|
|
}
|