@visa/nova-react
Version:
Visa Product Design System Nova React library. Compatible with React ^19.
24 lines (23 loc) • 873 B
TypeScript
import type { ComponentPropsWithRef, ElementType } from 'react';
export type ProgressLinearProperties<ET extends ElementType = 'progress'> = {
/** Is Completed */
completed?: boolean;
/** Is Error State */
invalid?: boolean;
/** Is Paused */
paused?: boolean;
/** Tag of Component */
tag?: ElementType;
} & ComponentPropsWithRef<ET>;
/**
* Linear 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 ProgressLinear: {
<ET extends ElementType = "progress">({ className, completed, invalid, paused, style, tag: Tag, ...remainingProps }: ProgressLinearProperties<ET>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
export default ProgressLinear;