Skip to content

Commit 4453c60

Browse files
committed
doc: 增加文档
1 parent 5755024 commit 4453c60

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,37 @@
118118
</div>
119119
</DemoBlock>
120120

121+
<DemoBlock Title="@Localizer["SizeTitle"]" Introduction="@Localizer["SizeIntro"]" Name="Size">
122+
<div class="row row-cols-auto g-2">
123+
<div class="col">
124+
<FileIcon Extension=".xlsx" IconColor="Color.Success" Size="Size.ExtraSmall">
125+
</FileIcon>
126+
</div>
127+
<div class="col ms-3">
128+
<FileIcon Extension=".xlsx" IconColor="Color.Success" Size="Size.Small">
129+
</FileIcon>
130+
</div>
131+
<div class="col ms-3">
132+
<FileIcon Extension=".xlsx" IconColor="Color.Success" Size="Size.None">
133+
</FileIcon>
134+
</div>
135+
<div class="col ms-3">
136+
<FileIcon Extension=".xlsx" IconColor="Color.Success" Size="Size.Medium">
137+
</FileIcon>
138+
</div>
139+
<div class="col ms-3">
140+
<FileIcon Extension=".xlsx" IconColor="Color.Success" Size="Size.Large">
141+
</FileIcon>
142+
</div>
143+
<div class="col ms-3">
144+
<FileIcon Extension=".xlsx" IconColor="Color.Success" Size="Size.ExtraLarge">
145+
</FileIcon>
146+
</div>
147+
<div class="col ms-3">
148+
<FileIcon Extension=".xlsx" IconColor="Color.Success" Size="Size.ExtraExtraLarge">
149+
</FileIcon>
150+
</div>
151+
</div>
152+
</DemoBlock>
153+
121154
<AttributeTable Items="@GetAttributes()" />

0 commit comments

Comments
 (0)