UNPKG

@typed-tabletop-simulator/ui

Version:
15 lines (14 loc) 552 B
/** @noSelfInFile */ import { BaseProps, BaseUIElement } from "./base"; export interface ProgressBarProps extends BaseProps { /** The percentage of how much is filled in the progress bar. */ percentage: number; /** The color of the progress bar. */ color?: string; /** The color of the empty space of the progress bar. */ backgroundColor?: string; showPercentageText?: boolean; } export declare class ProgressBar extends BaseUIElement<ProgressBarProps> { constructor(props: ProgressBarProps, children: JSX.Element[]); }