Skip to content

Commit

Permalink
feat: custom pager content
Browse files Browse the repository at this point in the history
  • Loading branch information
pogromistik committed Mar 21, 2023
1 parent 079a0f8 commit be0769b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,14 @@
<MudText>Loading...</MudText>
</LoadingContent>
<PagerContent>
<MudTablePager/>
@if (PagerContent != null)
{
@PagerContent
}
else
{
<MudTablePager/>
}
</PagerContent>
</MudTable>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ namespace Sitko.Core.Blazor.MudBlazorComponents;

[Parameter] public RenderFragment? FooterContent { get; set; }

[Parameter] public RenderFragment? PagerContent { get; set; }

[Parameter] public RenderFragment? ToolBarContent { get; set; }
[Parameter] public bool Dense { get; set; }
[Parameter] public bool Hover { get; set; }
Expand Down

0 comments on commit be0769b

Please sign in to comment.