mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 10:20:15 +01:00
16 lines
319 B
TypeScript
16 lines
319 B
TypeScript
|
|
import { cn } from '~/utils';
|
||
|
|
|
||
|
|
function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) {
|
||
|
|
return (
|
||
|
|
<div
|
||
|
|
className={cn(
|
||
|
|
'animate-pulse rounded-md bg-surface-tertiary opacity-50 dark:opacity-25',
|
||
|
|
className,
|
||
|
|
)}
|
||
|
|
{...props}
|
||
|
|
/>
|
||
|
|
);
|
||
|
|
}
|
||
|
|
|
||
|
|
export { Skeleton };
|