hi,
is there anything we need to add? Cant seem to see the pdf but download button works fine.
using version 1.0.1 of this.
did it as per example
public DashboardView() {
PdfViewer pdfViewer = new PdfViewer();
pdfViewer.setSizeFull();
StreamResource resource = new StreamResource("example.pdf", () -> getClass().getResourceAsStream("/pdf/example.pdf"));
pdfViewer.setSrc(resource);
add(pdfViewer);
}