Skip to content

Commit 1158497

Browse files
committed
doc: 增加示例
1 parent 2bd87ca commit 1158497

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/BootstrapBlazor.Server/Components/Samples/Buttons.razor

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55

66
<h4>@Localizer["Description"]</h4>
77

8+
<DemoBlock Title="@Localizer["ToggleButton"]" Introduction="@Localizer["ToggleIntroduction"]" Name="Toggle">
9+
<ToggleButton Text="Toggle" Color="Color.Danger"></ToggleButton>
10+
</DemoBlock>
11+
812
<DemoBlock Title="@Localizer["Block1Title"]" Introduction="@Localizer["Block1Intro"]" Name="Normal">
913
<div class="row g-3">
1014
<div class="col-6 col-sm-4 col-md-3 col-lg-auto"><Button OnClick="@ButtonClick" Color="Color.Primary">@Localizer["PrimaryButton"]</Button></div>

0 commit comments

Comments
 (0)