@etsoo/materialui
Version:
TypeScript Material-UI Implementation
44 lines (43 loc) • 854 B
TypeScript
/**
* Process count props
*/
export interface ProgressCountProps {
/**
* Is countdown or opposite
* @default 'true'
*/
countdown?: boolean;
/**
* Is linear or circular
* @default 'true'
*/
linear?: boolean;
/**
* Min width
* @default 36
*/
minWidth?: number;
/**
* On complete callback, return false will stop it
*/
onComplete?: () => boolean;
/**
* On progress callback
*/
onProgress?: (value: number) => void;
/**
* Seconds for count
*/
seconds: number;
/**
* Value unit, like 's' or '%'
* @default ''
*/
valueUnit?: string;
}
/**
* Progress count
* @param props Props
* @returns Component
*/
export declare function ProgressCount(props: ProgressCountProps): import("react/jsx-runtime").JSX.Element;