@shutootaki/gwm
Version:
git worktree manager CLI
27 lines • 761 B
TypeScript
import React from 'react';
export interface ProgressSpinnerProps {
/** Main label */
label: string;
/** Sub label (e.g., stage display) */
sublabel?: string;
/** Progress information */
progress?: {
current: number;
total: number;
detail?: string;
};
/** Spinner color */
color?: 'cyan' | 'green' | 'yellow' | 'red' | 'white' | 'gray';
}
/**
* Spinner with progress display
*
* Usage:
* <ProgressSpinner label="Removing worktrees..." />
* <ProgressSpinner
* label="Removing worktrees..."
* progress={{ current: 3, total: 5, detail: '/path/to/worktree' }}
* />
*/
export declare const ProgressSpinner: React.FC<ProgressSpinnerProps>;
//# sourceMappingURL=ProgressSpinner.d.ts.map