Skip to content

Commit adcc93f

Browse files
updated loading skeleton
1 parent 10d6525 commit adcc93f

File tree

1 file changed

+2
-2
lines changed
  • client/packages/lowcoder-design/src/components

1 file changed

+2
-2
lines changed

client/packages/lowcoder-design/src/components/Loading.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const Load2 = styled.div<LoadingContainerProps>`
6464
linear-gradient(to right, ${(props) => props.$color}a3, ${(props) => props.$color}1a);
6565
`;
6666

67-
const StyledSkeleton = styled(Skeleton.Button)`
67+
const StyledSkeleton = styled(Skeleton)`
6868
height: 100%;
6969
`;
7070

@@ -92,7 +92,7 @@ export const Loading = (props: LoadingProps) => {
9292
<Load2 {...loadingProps} />
9393
</Container>
9494
</ContainerX> */}
95-
<StyledSkeleton active block style={{height: '100%', animationDuration: '2s'}} />
95+
<StyledSkeleton active style={{height: '100%', animationDuration: '2s'}} />
9696
</LoadingWrapper>
9797
);
9898
};

0 commit comments

Comments
 (0)