Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Core/Components/Pagination/FluentPaginator.razor
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ο»Ώ@namespace Microsoft.FluentUI.AspNetCore.Components
@inherits FluentComponentBase
<div class="paginator" style="@Style">
<div class="@ClassValue" style="@Style">
@if (State.TotalItemCount.HasValue)
{
<div class="summary">
Expand Down
5 changes: 5 additions & 0 deletions src/Core/Components/Pagination/FluentPaginator.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

using Microsoft.AspNetCore.Components;
using Microsoft.FluentUI.AspNetCore.Components.Infrastructure;
using Microsoft.FluentUI.AspNetCore.Components.Utilities;

namespace Microsoft.FluentUI.AspNetCore.Components;

Expand Down Expand Up @@ -47,6 +48,10 @@ public partial class FluentPaginator : FluentComponentBase, IDisposable
[Parameter]
public RenderFragment? PaginationTextTemplate { get; set; }

protected string? ClassValue => new CssBuilder(Class)
.AddClass("paginator")
.Build();

/// <summary>
/// Constructs an instance of <see cref="FluentPaginator" />.
/// </summary>
Expand Down
Loading