Files
InvokeAI/invokeai/frontend/web/src/common/components/IAIFillSkeleton.tsx
psychedelicious 2990fa23fe wip
2023-07-13 15:31:44 +10:00

31 lines
554 B
TypeScript

import { Box, Skeleton } from '@chakra-ui/react';
const IAIFillSkeleton = () => {
return (
<Skeleton
sx={{
position: 'relative',
height: 'full',
width: 'full',
'::before': {
content: "''",
display: 'block',
pt: '100%',
},
}}
>
<Box
sx={{
position: 'absolute',
top: 0,
insetInlineStart: 0,
height: 'full',
width: 'full',
}}
/>
</Skeleton>
);
};
export default IAIFillSkeleton;