UNPKG

@datalayer/core

Version:
28 lines (27 loc) 681 B
import type { IRemoteServicesManager } from "../../api"; type ICreditsIndicatorProps = { /** * Kernel service manager */ serviceManager: IRemoteServicesManager; /** * Kernel ID */ kernelId: string; /** * Callback on progress bar click event */ onClick?: () => void; /** * Callback on progress update. * * Progress is a percentage between 0 and 100. * Duration is the kernel max duration */ onUpdate?: (progress: number, duration: number) => void; }; /** * Credits indicator component. */ export declare function CreditsIndicator(props: ICreditsIndicatorProps): JSX.Element | null; export {};