UNPKG

789 BTypeScriptView Raw
1import * as React from 'react';
2import { VDomModel, VDomRenderer } from '@jupyterlab/apputils';
3import { IFontFaceOptions } from '.';
4import '../style/license.css';
5export declare class LicenseViewer extends VDomRenderer<LicenseViewer.Model> {
6 constructor(options: LicenseViewer.IOptions);
7 protected render(): React.ReactElement<any>;
8}
9export 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}