@neuctra/ui
Version:
A modern, responsive, customizable React UI component library powered by Tailwind CSS and Vite.
21 lines (20 loc) • 937 B
TypeScript
import { default as React } from 'react';
export interface ProgressProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
/** 0–max. Omit (undefined) for an indeterminate bar. */
value?: number;
max?: number;
variant?: "linear" | "circular";
size?: "sm" | "md" | "lg";
/** Show the percentage next to (linear) or inside (circular) the track. */
showValue?: boolean;
/** Accessible label for the progress bar. */
label?: string;
colorClassName?: string;
/** The track behind the fill/indicator (the muted background). */
trackClassName?: string;
/** The filled portion (linear bar or circular arc), alongside `colorClassName`. */
fillClassName?: string;
/** The percentage text shown when `showValue` is set. */
valueClassName?: string;
}
export declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;