first commit
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
import React from "react";
|
||||
import Card from "@mui/material/Card";
|
||||
import { Typography } from "@mui/material";
|
||||
import Skeleton from '@mui/material/Skeleton';
|
||||
import Stack from '@mui/material/Stack';
|
||||
|
||||
export default function Variants() {
|
||||
return (
|
||||
<>
|
||||
<Card
|
||||
sx={{
|
||||
boxShadow: "none",
|
||||
borderRadius: "10px",
|
||||
p: "25px",
|
||||
mb: "15px",
|
||||
}}
|
||||
>
|
||||
<Typography
|
||||
as="h3"
|
||||
sx={{
|
||||
fontSize: 18,
|
||||
fontWeight: 500,
|
||||
mb: '10px'
|
||||
}}
|
||||
>
|
||||
Variants
|
||||
</Typography>
|
||||
|
||||
<Stack spacing={1}>
|
||||
{/* For variant="text", adjust the height via font-size */}
|
||||
<Skeleton variant="text" sx={{ fontSize: '1rem' }} />
|
||||
|
||||
{/* For other variants, adjust the size with `width` and `height` */}
|
||||
<Skeleton variant="circular" width={40} height={40} />
|
||||
|
||||
<Skeleton variant="rectangular" width={210} height={60} />
|
||||
|
||||
<Skeleton variant="rounded" width={210} height={60} />
|
||||
</Stack>
|
||||
</Card>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user