chore: instance creationg UE

This commit is contained in:
jialin
2026-06-14 19:14:18 +08:00
committed by jialin
parent 8c06862705
commit 6f56e614f3
8 changed files with 131 additions and 87 deletions
@@ -31,4 +31,24 @@ const FileSkeleton: React.FC<{ counts: number; itemHeight?: number }> = ({
);
};
export const FileSkeletonRows: React.FC<{
counts: number;
itemHeight?: number;
}> = ({ counts = 2, itemHeight }) => {
return (
<Wrapper orientation="vertical" style={{ height: itemHeight || 'auto' }}>
<Skeleton paragraph={{ rows: 1, width: '100%' }} title={false}></Skeleton>
<Flex orientation="vertical" gap={12}>
<Skeleton
paragraph={{
rows: counts,
width: Array.from({ length: counts }, () => '60%')
}}
title={false}
></Skeleton>
</Flex>
</Wrapper>
);
};
export default FileSkeleton;