mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-24 07:26:47 +08:00
### What problem does this PR solve? Fix: Home and team page style adjustment, and some bug fixes #10703 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
17 lines
496 B
TypeScript
17 lines
496 B
TypeScript
import { Skeleton } from '@/components/ui/skeleton';
|
|
import { cn } from '@/lib/utils';
|
|
|
|
type SkeletonCardProps = {
|
|
className?: string;
|
|
};
|
|
export function SkeletonCard(props: SkeletonCardProps) {
|
|
const { className } = props;
|
|
return (
|
|
<div className={cn('space-y-4', className)}>
|
|
<Skeleton className="h-8 w-full bg-bg-card rounded-lg" />
|
|
<Skeleton className="h-8 w-4/5 bg-bg-card rounded-lg" />
|
|
<Skeleton className="h-8 w-3/5 bg-bg-card rounded-lg" />
|
|
</div>
|
|
);
|
|
}
|