@engie-group/fluid-design-system-react
Version:
Fluid Design System React
41 lines (40 loc) • 1.07 kB
TypeScript
import React from 'react';
export declare const deprecatedProgress: React.ForwardRefExoticComponent<IProgressProps & React.RefAttributes<HTMLDivElement>>;
export interface IProgressProps {
/**
* Label of the progressbar
*/
label: string;
/**
* Progress value
*/
value?: number;
/**
* Min value, default to 0
*/
valueMin?: number;
/**
* Max value, default to 100
*/
valueMax?: number;
/**
* Whether progress has description or not
*/
hasDescription?: boolean;
/**
* Whether progress has a width transition or not (0.3s cubic-bezier(0.0, 0.0, 0.2, 1))
*/
hasTransition?: boolean;
/**
* Decimal precision of the description
*/
decimalPrecision?: number;
/**
* Optional additional className
*/
className?: string;
}
/**
* @deprecated Linear Progress component is deprecated, please use Progress component instead
*/
export declare const NJLinearProgressDeprecated: React.FC<IProgressProps & React.RefAttributes<HTMLDivElement>>;