"use client"; import { Button } from "@/components/ui/button"; import { Card, CardContent, CardHeader } from "@/components/ui/card"; import { ArrowLeft, Loader2 } from "lucide-react"; interface ThreadViewLoadingProps { onBackToHome?: () => void; } const isEven = (num: number) => num % 2 === 0; export function LoadingActionsSection() { return (
Loading actions...
{Array.from({ length: 8 }, (_, i) => (
{isEven(i) ? (
) : (
)}
))}
); } export function LoadingChatSection() { return (
Loading conversation...
{Array.from({ length: 3 }, (_, i) => (
{i === 1 && (
)}
))}
); } export function ThreadViewLoading({ onBackToHome }: ThreadViewLoadingProps) { return (
•
); }