@a24z/dynamic-file-tree
Version:
React component for selective directory filtering and file tree visualization
18 lines • 749 B
TypeScript
import type { Theme } from '@a24z/industry-theme';
import { FileTree } from '@principal-ai/repository-abstraction';
import React from 'react';
import { GitFileStatus } from './GitStatusFileTree';
export interface GitStatusFileTreeContainerProps {
fileTree: FileTree;
theme: Theme;
gitStatusData: GitFileStatus[];
selectedFile?: string;
onFileSelect?: (filePath: string) => void;
onRefresh?: () => void;
isLoading?: boolean;
error?: string | null;
showControls?: boolean;
onContextMenu?: (event: React.MouseEvent, nodePath: string, isFolder: boolean) => void;
}
export declare const GitStatusFileTreeContainer: React.FC<GitStatusFileTreeContainerProps>;
//# sourceMappingURL=GitStatusFileTreeContainer.d.ts.map