@wonderflow/react-components
Version:
UI components from Wonderflow's Wanda design system
44 lines • 1.41 kB
TypeScript
import { ProgressHTMLAttributes } from 'react';
export declare type LinearProgressProps = ProgressHTMLAttributes<HTMLProgressElement> & {
/**
* Set the current progress of the progress bar.
* This value should be between 0 and 'max'. The percentage is
* automatically computed.
*/
value?: number;
/**
* Set the max value of the progress bar. This determines the
* computed percentage.
*/
max?: number;
/**
* Set the dimension of the progress bar.
*/
dimension?: 'regular' | 'big';
/**
* Show or hide the progress value.
*/
showProgress?: boolean;
};
export declare const LinearProgress: import("react").ForwardRefExoticComponent<ProgressHTMLAttributes<HTMLProgressElement> & {
/**
* Set the current progress of the progress bar.
* This value should be between 0 and 'max'. The percentage is
* automatically computed.
*/
value?: number | undefined;
/**
* Set the max value of the progress bar. This determines the
* computed percentage.
*/
max?: number | undefined;
/**
* Set the dimension of the progress bar.
*/
dimension?: "regular" | "big" | undefined;
/**
* Show or hide the progress value.
*/
showProgress?: boolean | undefined;
} & import("react").RefAttributes<HTMLProgressElement>>;
//# sourceMappingURL=linear-progress.d.ts.map