Getting started
PDF Entry
The PdfEntry component is an infolist entry that allows you to display PDF files directly in your infolist. It can be used in any Filament infolist:
php
use RalphJSmit\Filament\Upload\Filament\Infolists\Entries\PdfEntry;
PdfEntry::make('document_path')
->disk('s3')
->directory('documents')
Minimum height
You can specify the minimum height of the PDF viewer using the ->minHeight() method. This can be a string with a CSS value or an integer representing pixels:
php
PdfEntry::make('document_path')
->minHeight(600) // 600px
->minHeight('50vh')