<MudDialog Class="customDialog-form">
    <DialogContent>
        @if (!string.IsNullOrEmpty(FileViewerUrl))
        {
            <iframe src="@FileViewerUrl" style="width:100%; height:80vh; border:none;"></iframe>
        }
    </DialogContent>
</MudDialog>

@code {
    [CascadingParameter] private IMudDialogInstance MudDialog { get; set; }

    [Parameter] public string? FileViewerUrl { get; set; }
}