import { Component } from '@angular/core'; import { EpdfPanel, EpdfPdfViewer, type Layout } from '@embedpdf/viewer-angular'; import { Notes } from './notes'; // your app @Component({ selector: 'app-review', imports: [EpdfPdfViewer, EpdfPanel, Notes], template: ` `, }) export class Review { readonly layout = (layout: Layout) => layout .addPanel('notes', { side: 'end', title: 'Notes', icon: 'book' }) .add('panel:notes', { to: 'main', section: 'end' }); }