1 | import * as React from 'react';
|
2 | import { VDomModel, VDomRenderer } from '@jupyterlab/apputils';
|
3 | import { IFontFaceOptions } from '.';
|
4 | import '../style/license.css';
|
5 | export declare class LicenseViewer extends VDomRenderer<LicenseViewer.Model> {
|
6 | constructor(options: LicenseViewer.IOptions);
|
7 | protected render(): React.ReactElement<any>;
|
8 | }
|
9 | export declare namespace LicenseViewer {
|
10 | interface IOptions {
|
11 | font: IFontFaceOptions;
|
12 | }
|
13 | class Model extends VDomModel {
|
14 | private _font;
|
15 | private _licenseText;
|
16 | private _licenseTextPromise;
|
17 | constructor(options: IOptions);
|
18 | get font(): IFontFaceOptions;
|
19 | set font(font: IFontFaceOptions);
|
20 | get licenseText(): string;
|
21 | get licenseTextPromise(): Promise<string>;
|
22 | }
|
23 | }
|