@visa/nova-react
Version:
Visa Product Design System Nova React library. Compatible with React ^19.
28 lines (27 loc) • 1.06 kB
TypeScript
import type { ComponentPropsWithRef, ElementType } from 'react';
declare const SIZES: {
large: number;
small: number;
};
export type ProgressCircularProperties<ET extends ElementType = 'div'> = {
/** If the Progress is Indeterminate Progress */
indeterminate?: boolean;
/** Is Paused */
paused?: boolean;
/** Width of the Circular Progress */
progressSize?: number | keyof typeof SIZES;
/** Percent Complete */
value?: HTMLProgressElement['value'];
} & Omit<ComponentPropsWithRef<ET>, ''>;
/**
* Circular indicator used to show the progress of a task or process.
* @docs {@link https://design.visa.com/components/progress/?code_library=react | See Docs}
* @related progress-label
* @vgar TODO
* @wcag TODO
*/
declare const ProgressCircular: {
<ET extends ElementType = "div">({ className, children, indeterminate, paused, progressSize, style, value, ...remainingProps }: ProgressCircularProperties<ET>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
export default ProgressCircular;