@ntragas/pouncejstest
Version:
A collection of UI components from Panther labs
13 lines (12 loc) • 488 B
TypeScript
import React from 'react';
import { Theme } from '../../theme';
export interface ProgressBarProps {
/** The thickness (in pixels) of the progress bar (a.k.a. vertical height). Defaults to `5` */
thickness?: number;
/** The color of the progress bar as it fills out */
color?: keyof Theme['colors'];
/** A value between [0,1] denoting the progress of the bar */
progress: number;
}
declare const ProgressBar: React.FC<ProgressBarProps>;
export default ProgressBar;