@jupyterlab/ui-components
Version:
JupyterLab - UI components written in React
22 lines • 530 B
JavaScript
/*
* Copyright (c) Jupyter Development Team.
* Distributed under the terms of the Modified BSD License.
*/
import { Panel } from '@lumino/widgets';
import { Toolbar } from './toolbar';
/**
* A base class for panel widget with toolbar.
*/
export class PanelWithToolbar extends Panel {
constructor(options = {}) {
super(options);
this._toolbar = new Toolbar();
}
/**
* Widget toolbar
*/
get toolbar() {
return this._toolbar;
}
}
//# sourceMappingURL=panelwithtoolbar.js.map