@prokodo/ui
Version:
UI components for production-grade Next.js + Headless CMS (Strapi, Contentful, Headless WordPress) websites by prokodo – built for Core Web Vitals & SEO.
15 lines (14 loc) • 480 B
TypeScript
import type { Variants } from "@/types/variants";
import type { HTMLAttributes } from "react";
export type ProgressBarVariant = Omit<Variants, "white">;
export type ProgressBarProps = {
id: string;
value?: number;
label?: string;
hideLabel?: boolean;
variant?: ProgressBarVariant;
infinity?: boolean;
animated?: boolean;
className?: string;
} & Omit<HTMLAttributes<HTMLDivElement>, "children">;
export type ProgressBarViewProps = ProgressBarProps;