// Copyright 2025, Command Line Inc. // SPDX-License-Identifier: Apache-2.0 import { boundNumber } from "@/util/util"; import "./progressbar.scss"; type ProgressBarProps = { progress: number; label?: string; }; const ProgressBar = ({ progress, label = "Progress" }: ProgressBarProps) => { const progressWidth = boundNumber(progress, 0, 100); return (
{progressWidth}%
); }; export { ProgressBar };