Skip to content

Commit 9e0a304

Browse files
committed
doc: 增加 SmileDrawer 文档
1 parent 0486814 commit 9e0a304

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
@page "/smile-drawer"
2+
@inject IStringLocalizer<RDKits> Localizer
3+
4+
<h3>@Localizer["RDKitTitle"]</h3>
5+
6+
<h4>@Localizer["RDKitDescription"]</h4>
7+
8+
<PackageTips Name="BootstrapBlazor.SmileDrawer" />
9+
10+
<DemoBlock Title="@Localizer["SmileDrawerNormalTitle"]"
11+
Introduction="@Localizer["SmileDrawerNormalIntro"]"
12+
Name="Normal">
13+
<SmilesDrawer SmilesValue="CC(=O)Oc1ccccc1C(=O)O"></SmilesDrawer>
14+
</DemoBlock>
15+
16+
<DemoBlock Title="@Localizer["SmileDrawerSizeTitle"]"
17+
Introduction="@Localizer["SmileDrawerSizeIntro"]"
18+
Name="Size">
19+
<SmilesDrawer SmilesValue="CC(=O)Oc1ccccc1C(=O)O" Theme="dark" Width="120" Height="120"></SmilesDrawer>
20+
</DemoBlock>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the Apache 2.0 License
3+
// See the LICENSE file in the project root for more information.
4+
// Maintainer: Argo Zhang([email protected]) Website: https://www.blazor.zone
5+
6+
namespace BootstrapBlazor.Server.Components.Samples;
7+
8+
/// <summary>
9+
/// SmileDrawer 组件示例
10+
/// </summary>
11+
public partial class SmileDrawers
12+
{
13+
14+
}

0 commit comments

Comments
 (0)