import { type BitProgressProps, Progress } from "@/components/ui/8bit/progress";
interface ManaBarProps extends React.ComponentProps<"div"> {
className?: string;
props?: BitProgressProps;
variant?: "retro" | "default";
value?: number;
}
export default function ManaBar({
className,
variant,
value,
...props
}: ManaBarProps) {
return (
<Progress
{...props}
value={value}
variant={variant}
className={className}
progressBg="bg-blue-500"
/>
);
}
npx shadcn@latest add @8bitcn/mana-barimport { ManaBar } from "@/components/mana-bar"<ManaBar />