"use client"; import type { AvatarMood } from "@/lib/avatar-state"; import { getPetEmotionMessage } from "@/lib/pet-status"; import { cn } from "@/lib/utils"; type PetEmotionCaptionProps = { mood: AvatarMood; visible: boolean; className?: string; }; export function PetEmotionCaption({ mood, visible, className, }: PetEmotionCaptionProps) { if (!visible) { return null; } return (

{getPetEmotionMessage(mood)}

); }