You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

38 rivejä
1.3 KiB

  1. import Card from "@mui/material/Card";
  2. import CardContent from "@mui/material/CardContent";
  3. import Skeleton from "@mui/material/Skeleton";
  4. import Stack from "@mui/material/Stack";
  5. import React from "react";
  6. // Can make this nicer
  7. export const SubsidiarySearchLoading: React.FC = () => {
  8. return (
  9. <>
  10. <Card>
  11. <CardContent>
  12. <Stack spacing={2}>
  13. <Skeleton variant="rounded" height={60} />
  14. <Skeleton
  15. variant="rounded"
  16. height={50}
  17. width={100}
  18. sx={{ alignSelf: "flex-end" }}
  19. />
  20. </Stack>
  21. </CardContent>
  22. </Card>
  23. <Card>
  24. <CardContent>
  25. <Stack spacing={2}>
  26. <Skeleton variant="rounded" height={40} />
  27. <Skeleton variant="rounded" height={40} />
  28. <Skeleton variant="rounded" height={40} />
  29. <Skeleton variant="rounded" height={40} />
  30. </Stack>
  31. </CardContent>
  32. </Card>
  33. </>
  34. );
  35. };
  36. export default SubsidiarySearchLoading;