import * as React from "react" import { cn } from "../../utils/cn" import { Button } from "../ui/button" import { ChatPlusIcon } from "../icons-v2-generated" interface DialogListItemSkeletonProps { className?: string } const DialogListItemSkeleton = React.forwardRef( ({ className, ...props }, ref) => { return (
{/* Content area skeleton */}
{/* Title skeleton */}
{/* Timestamp skeleton */}
{/* Right side chevron skeleton */}
) } ) DialogListItemSkeleton.displayName = "DialogListItemSkeleton" interface ChatSidebarSkeletonProps { className?: string dialogCount?: number showNewChatButton?: boolean } const ChatSidebarSkeleton = React.forwardRef( ({ className, dialogCount = 8, showNewChatButton = true, ...props }, ref) => { return (
{/* Start New Chat Button */} {showNewChatButton && (
)} {/* Dialogs List Skeleton */}
{Array.from({ length: dialogCount }).map((_, index) => ( ))}
) } ) ChatSidebarSkeleton.displayName = "ChatSidebarSkeleton" export { ChatSidebarSkeleton, DialogListItemSkeleton }