Skip to content

Commit 6a3c081

Browse files
committed
doc: 增加图标列表功能
1 parent 055103d commit 6a3c081

File tree

3 files changed

+20
-14
lines changed

3 files changed

+20
-14
lines changed

src/BootstrapBlazor.Server/Components/Samples/Icons/AntDesignIcons.razor

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,18 @@
2222

2323
<Pre>&lt;link href="_content/BootstrapBlazor.AntDesignIcon/BootstrapBlazor.AntDesignIcon.bundle.scp.css" rel="stylesheet"&gt;</Pre>
2424

25-
<div class="mb-2">
26-
<AntDesignIcon Category="AntDesignIconCategory.Filled" Name="left-circle"></AntDesignIcon>
27-
<AntDesignIcon Category="AntDesignIconCategory.Outlined" Name="left-circle"></AntDesignIcon>
28-
</div>
29-
3025
<Pre>&lt;AntDesignIcon Category="AntDesignIconCategory.Outlined" Name="github"&gt;&lt;/AntDesignIcon&gt;</Pre>
3126

3227
<div>@((MarkupString)Localizer["Icons"].Value)</div>
28+
29+
<div class="icon-list">
30+
<AntDesignIconListOutlined></AntDesignIconListOutlined>
31+
</div>
32+
33+
<div class="icon-list">
34+
<AntDesignIconListFilled></AntDesignIconListFilled>
35+
</div>
36+
37+
<div class="icon-list">
38+
<AntDesignIconListTwoTone></AntDesignIconListTwoTone>
39+
</div>

src/BootstrapBlazor.Server/Components/Samples/Icons/ElementIcons.razor

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222

2323
<Pre>&lt;link href="_content/BootstrapBlazor.ElementIcon/BootstrapBlazor.ElementIcon.bundle.scp.css" rel="stylesheet"&gt;</Pre>
2424

25-
<div class="mb-2">
26-
<ElementIcon Name="upload-filled"></ElementIcon>
27-
</div>
28-
2925
<Pre>&lt;ElementIcon Name="upload-filled"&gt;&lt;/ElementIcon&gt;</Pre>
3026

3127
<div>@((MarkupString)Localizer["Icons"].Value)</div>
28+
29+
<div class="icon-list">
30+
<ElementIconList></ElementIconList>
31+
</div>

src/BootstrapBlazor.Server/Components/Samples/Icons/IconParks.razor

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@
1818

1919
<Pre>&lt;link href="_content/BootstrapBlazor.IconPark/BootstrapBlazor.IconPark.bundle.scp.css" rel="stylesheet"&gt;</Pre>
2020

21-
<div class="mb-2">
22-
<ByteDanceIcon Name="github"></ByteDanceIcon>
23-
<ByteDanceIcon Name="all-application"></ByteDanceIcon>
24-
</div>
25-
2621
<Pre>&lt;ByteDanceIcon Name="github"&gt;&lt;/ByteDanceIcon&gt;</Pre>
2722

2823
<div>@((MarkupString)Localizer["Icons"].Value)</div>
24+
25+
<div class="icon-list">
26+
<IconParkList></IconParkList>
27+
</div>

0 commit comments

Comments
 (0)