"use client" import * as React from "react" import * as ProgressPrimitive from "@radix-ui/react-progress" import { keyframes } from "styled-components" import { cn } from "@/lib/utils" const shimmer = keyframes` 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } ` const Progress = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, value, ...props }, ref) => ( {/* Shimmer loading effect */}
{/* Pulse overlay */}
)) Progress.displayName = ProgressPrimitive.Root.displayName const styles = ` @keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } } .animate-shimmer { animation: shimmer 2s infinite linear; } ` export { Progress }