/** * ChatBotGridSkeleton - A loading placeholder component that displays a grid of skeleton cards * Used to show a loading state while chat bot data is being fetched * Renders 6 identical skeleton cards in a responsive grid layout */ export default function ChatBotGridSkeleton() { return ( // Responsive grid container: 1 column (mobile), 2 columns (sm), 3 columns (lg)
{/* Generate 6 skeleton cards using Array constructor and map */} {[...Array(6)].map((_, index) => (
{/* Header section with avatar and status indicator */}
{" "} {/* Avatar placeholder */}
{" "} {/* Status indicator placeholder */}
{/* Title placeholder */}
{/* Description text placeholders - two lines */}
{/* Action button placeholder */}
))}
); }