@jupyterlab/git
Version:
A JupyterLab extension for version control using git
21 lines (20 loc) • 582 B
TypeScript
import { Dialog } from '@jupyterlab/apputils';
import { TranslationBundle } from '@jupyterlab/translation';
import { Widget } from '@lumino/widgets';
import { Git } from '../tokens';
/**
* The UI for the commit author form
*/
export declare class GitAuthorForm extends Widget implements Dialog.IBodyWidget<Git.IIdentity> {
constructor({ author, trans }: {
author: Git.IIdentity;
trans: TranslationBundle;
});
private _populateForm;
/**
* Returns the input value.
*/
getValue(): Git.IIdentity;
private _name;
private _email;
}