File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 11@namespace Microsoft.FluentUI.AspNetCore.Components
22@inherits FluentComponentBase
3- <div class =" paginator " style =" @Style " >
3+ <div class =" @ClassValue " style =" @Style " >
44 @if (State .TotalItemCount .HasValue )
55 {
66 <div class =" summary" >
Original file line number Diff line number Diff line change 44
55using Microsoft . AspNetCore . Components ;
66using Microsoft . FluentUI . AspNetCore . Components . Infrastructure ;
7+ using Microsoft . FluentUI . AspNetCore . Components . Utilities ;
78
89namespace Microsoft . FluentUI . AspNetCore . Components ;
910
@@ -47,6 +48,10 @@ public partial class FluentPaginator : FluentComponentBase, IDisposable
4748 [ Parameter ]
4849 public RenderFragment ? PaginationTextTemplate { get ; set ; }
4950
51+ protected string ? ClassValue => new CssBuilder ( Class )
52+ . AddClass ( "paginator" )
53+ . Build ( ) ;
54+
5055 /// <summary>
5156 /// Constructs an instance of <see cref="FluentPaginator" />.
5257 /// </summary>
You can’t perform that action at this time.
0 commit comments