    
<div class="fr-webreport-body" style="min-height: 200px">
    @if (WebReport.Outline && (WebReport.Report.PreparedPages?.OutlineXml?.Count ?? 0) != 0)
    {
        <Outline OutlineXml="WebReport.Report.PreparedPages.OutlineXml" PageChanged="PageChanged"/>
    }
    <div class="fr-webreport-report">
        @ChildContent
    </div>
</div>

@code {
    [Parameter]
    public WebReport WebReport { get; set; }

    [Parameter]
    public RenderFragment ChildContent { get; set; }

    [Parameter]
    public EventCallback<int> PageChanged { get; set; }

}
