@jupyterlab/git
Version:
A JupyterLab extension for version control using git
38 lines (37 loc) • 849 B
TypeScript
import * as React from 'react';
import { ListChildComponentProps } from 'react-window';
import { Git } from '../tokens';
/**
* Git stage component properties
*/
export interface IGitStageProps {
/**
* Actions component to display at the far right of the stage
*/
actions?: React.ReactElement;
/**
* Is this group collapsible
*/
collapsible?: boolean;
/**
* Files in the group
*/
files: Git.IStatusFile[];
/**
* Group title
*/
heading: string;
/**
* HTML element height
*/
height: number;
/**
* Row renderer
*/
rowRenderer: (props: ListChildComponentProps) => JSX.Element;
/**
* Optional select all element
*/
selectAllButton?: React.ReactElement;
}
export declare const GitStage: React.FunctionComponent<IGitStageProps>;