mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-23 00:56:33 +03:00
19 lines
395 B
JavaScript
19 lines
395 B
JavaScript
'use strict';
|
|
|
|
import {RedocComponent, BaseComponent} from '../base';
|
|
|
|
@RedocComponent({
|
|
selector: 'api-info',
|
|
styleUrls: ['./lib/components/ApiInfo/api-info.css'],
|
|
templateUrl: './lib/components/ApiInfo/api-info.html'
|
|
})
|
|
export class ApiInfo extends BaseComponent {
|
|
constructor(schemaMgr) {
|
|
super(schemaMgr);
|
|
}
|
|
|
|
prepareModel() {
|
|
this.data = this.componentSchema.info;
|
|
}
|
|
}
|