"use client"; import { motion } from "motion/react"; import { cn } from "@/lib/utils"; import { ShimmeringText } from "@/components/shimmering-text"; import { LINE_LOADING_PULSE_EASE, LOADING_LABEL_EXIT_S, LOADING_LABEL_EXIT_Y_PX, } from "./line-loading-timing"; export interface ChartLoadingLabelProps { /** Label shown centered over the chart. */ text?: string; className?: string; /** Animate down, fade, and blur during loading → ready handoff. */ exiting?: boolean; } export function ChartLoadingLabel({ text = "Loading", className, exiting = false, }: ChartLoadingLabelProps) { if (!text.trim()) { return null; } return ( ); } export default ChartLoadingLabel;