feat: add ragflow web project & add pnpm workspace file
This commit is contained in:
16
ragflow_web/src/components/skeleton-card.tsx
Normal file
16
ragflow_web/src/components/skeleton-card.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
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-2', className)}>
|
||||
<Skeleton className="h-4 w-full bg-bg-card" />
|
||||
<Skeleton className="h-4 w-full bg-bg-card" />
|
||||
<Skeleton className="h-4 w-2/3 bg-bg-card" />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user