UNPKG

@engie-group/fluid-design-system-react

Version:

Fluid Design System React

33 lines (32 loc) 852 B
import React, { ComponentPropsWithoutRef } from 'react'; export interface ProgressProps extends ComponentPropsWithoutRef<'div'> { /** * Progress value */ value?: number; /** * Min value, default to 0 */ min?: number; /** * Max value, default to 100 */ max?: number; /** * 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; /** * Position of the description */ descriptionPosition?: 'bottom' | 'right' | 'none'; } export declare const NJProgress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;