Skip to content

Commit 1d4d6b4

Browse files
committed
doc: 移除 FAIconList 组件
1 parent b2fafba commit 1d4d6b4

File tree

6 files changed

+2
-3916
lines changed

6 files changed

+2
-3916
lines changed

src/BootstrapBlazor.Shared/Components/Samples/Icons/FAIconList.razor

Lines changed: 0 additions & 3636 deletions
This file was deleted.

src/BootstrapBlazor.Shared/Components/Samples/Icons/FAIconList.razor.cs

Lines changed: 0 additions & 110 deletions
This file was deleted.

src/BootstrapBlazor.Shared/Components/Samples/Icons/FAIconList.razor.css

Lines changed: 0 additions & 47 deletions
This file was deleted.

src/BootstrapBlazor.Shared/Components/Samples/Icons/FAIconList.razor.js

Lines changed: 0 additions & 115 deletions
This file was deleted.

src/BootstrapBlazor.Shared/Components/Samples/Icons/FAIcons.razor

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414

1515
<Pre>&lt;link href="_content/BootstrapBlazor.FontAwesome/css/font-awesome.min.css" rel="stylesheet"&gt;</Pre>
1616

17-
<div class="row form-inline">
18-
<div class="col-12">
19-
<Switch ShowLabel="true" DisplayText="@DisplayText" @bind-Value="@ShowCopyDialog" />
20-
</div>
21-
</div>
17+
<Pre>&lt;i class="fa-solid fa-home"&gt;&lt;/i&gt;</Pre>
2218

23-
<FAIconList ShowCopyDialog="ShowCopyDialog" CopiedTooltipText="@Localizer["CopiedTooltipText"]" />
19+
<div>@((MarkupString)Localizer["Icons"].Value)</div>

src/BootstrapBlazor.Shared/Components/Samples/Icons/FAIcons.razor.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,5 @@ namespace BootstrapBlazor.Shared.Components.Samples.Icons;
1010
/// </summary>
1111
public partial class FAIcons
1212
{
13-
private bool ShowCopyDialog { get; set; }
1413

15-
private string DisplayText => ShowCopyDialog ? Localizer["SwitchButtonTextOn"] : Localizer["SwitchButtonTextOff"];
1614
}

0 commit comments

Comments
 (0)