Files
ragflow/web/src/components/skeleton-card.tsx
chanx 5312b75362 Fix: Home and team page style adjustment, and some bug fixes #10703 (#10805)
### 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)
2025-10-27 15:15:12 +08:00

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>
);
}