Skip to content
Open
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/layout/src/NoticeIcon/NoticeIcon.razor
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<Unbound>
<span @ref="@context.Current" class="@ClassMapper.Class">
<Badge Count="Count" Style="box-shadow: none;" Class="badge">
<Icon Type="bell" Theme="@IconThemeType.Outline" />
<Icon Type="@IconType" Theme="@IconTheme" />
</Badge>
</span>
</Unbound>
Expand Down
2 changes: 2 additions & 0 deletions src/layout/src/NoticeIcon/NoticeIcon.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ public partial class NoticeIcon : AntDomComponentBase
[Parameter] public EventCallback<string> OnClear { get; set; }
[Parameter] public EventCallback<string> OnViewMore { get; set; }
[Parameter] public RenderFragment ChildContent { get; set; }
[Parameter] public string IconType { get; set; } = "bell";
[Parameter] public IconThemeType IconTheme { get; set; } = IconThemeType.Outline;

protected override void OnInitialized()
{
Expand Down