@typed-tabletop-simulator/ui
Version:
JSX wrapper and components for Tabletop Simulator UI
15 lines (14 loc) • 552 B
TypeScript
/** @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[]);
}