/** @packageDocumentation * @module Loading */ import "./LoadingPrompt.scss"; import * as React from "react"; import { CommonProps } from "../utils/Props"; /** Properties for [[LoadingPrompt]] component * @public */ export interface LoadingPromptProps extends CommonProps { /** Title */ title: string; /** Message displayed below the title (optional) */ message?: string; /** Determine if a percentage bar is displayed (isDeterminate=true), otherwise a loading spinner or indeterminate progress bar is shown. */ isDeterminate: boolean; /** Show current status and percentage. Default is false (not shown) */ showStatus: boolean; /** Show cancel button. Default is false (not shown) */ showCancel: boolean; /** Current loading status text (optional). Only shown if showStatus=true and isDeterminate=true */ status: string; /** Current percentage. Only used if isDeterminate=true */ percent: number; /** Show percentage at the end of the loading bar (optional). Only shown if isDeterminate=true and showStatus=false */ showPercentage: boolean; /** Show indeterminate progress bar instead of loading spinner */ showIndeterminateBar: boolean; /** Function called when Cancel button is clicked. */ onCancel?: () => void; /** Determine if a loading bar is displayed (isDeterminate=true), otherwise a loading spinner or indeterminate progress bar is shown * @deprecated Use isDeterminate instead */ isDeterministic: boolean; } /** * A component to display during loading that optionally shows percentage, status text and a cancel button. * @public */ export declare class LoadingPrompt extends React.PureComponent { static defaultProps: Partial; render(): JSX.Element; } //# sourceMappingURL=LoadingPrompt.d.ts.map