Skip to content

Commit 252bc62

Browse files
committed
feat: 增加 InputClearIcon 定义
1 parent 70ebace commit 252bc62

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/BootstrapBlazor/Enums/ComponentIcons.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,5 +818,10 @@ public enum ComponentIcons
818818
/// <summary>
819819
/// ThemeProvider 组件 明亮模式图标
820820
/// </summary>
821-
ThemeProviderActiveModeIcon
821+
ThemeProviderActiveModeIcon,
822+
823+
/// <summary>
824+
/// Input 组件 ClearIcon 图标
825+
/// </summary>
826+
InputClearIcon
822827
}

src/BootstrapBlazor/Options/IconThemeOptions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ public IconThemeOptions()
106106

107107
{ ComponentIcons.ImageViewerFileIcon, "fa-regular fa-file-image" },
108108

109+
{ ComponentIcons.InputClearIcon, "fa-regular fa-circle-xmark" },
110+
109111
{ ComponentIcons.InputNumberMinusIcon, "fa-solid fa-circle-minus" },
110112
{ ComponentIcons.InputNumberPlusIcon, "fa-solid fa-circle-plus" },
111113

0 commit comments

Comments
 (0)