import type BusyIndicator from "./BusyIndicator.js"; import Label from "./Label.js"; export default function BusyIndicatorTemplate(this: BusyIndicator) { return (
{this._isBusy && (
{this.textPosition.top && BusyIndicatorBusyText.call(this)}
{this.textPosition.bottom && BusyIndicatorBusyText.call(this)}
)} {this._isBusy && ( )}
); } function BusyIndicatorBusyText(this: BusyIndicator) { return (<> {this.text && ( )} ); }