index.tsx 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. import React from 'react';
  2. import Box from '../Box';
  3. import Skeleton from '../Skeleton';
  4. import { Container } from './styled';
  5. const PdfSkeleton: React.FC = () => (
  6. <Container>
  7. <Skeleton variant="rect" width="50%" height="36px" />
  8. <Skeleton variant="rect" width="45%" height="12px" />
  9. <Skeleton variant="rect" width="40%" height="12px" />
  10. <Box mt="30">
  11. <Skeleton variant="rect" width="100%" height="14px" />
  12. <Skeleton variant="rect" width="100%" height="14px" />
  13. <Skeleton variant="rect" width="100%" height="14px" />
  14. <Skeleton variant="rect" width="90%" height="14px" />
  15. </Box>
  16. <Box mt="5" d="flex">
  17. <Skeleton variant="rect" width="100%" height="120px" />
  18. <Box ml="15">
  19. <Skeleton variant="rect" width="70%" height="16px" />
  20. <Skeleton variant="rect" width="100%" height="12px" />
  21. <Skeleton variant="rect" width="100%" height="12px" />
  22. <Skeleton variant="rect" width="100%" height="12px" />
  23. <Skeleton variant="rect" width="80%" height="12px" />
  24. </Box>
  25. </Box>
  26. <Box mt="15">
  27. <Skeleton variant="rect" width="100%" height="14px" />
  28. <Skeleton variant="rect" width="100%" height="14px" />
  29. <Skeleton variant="rect" width="90%" height="14px" />
  30. <Skeleton variant="rect" width="85%" height="14px" />
  31. </Box>
  32. </Container>
  33. );
  34. export default PdfSkeleton;