Skip to content

Commit 124f8f2

Browse files
committed
doc: 更新示例代码
1 parent 95711bb commit 124f8f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/BootstrapBlazor.Server/Components/Samples/SmilesDrawers.razor.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ public partial class SmilesDrawers
1414

1515
private void OnClickUpdateSize()
1616
{
17-
_options = new SmilesDrawerOptions { Theme = "light", Width = 200, Height = 200 };
17+
_options.Width = 200;
18+
_options.Height = 200;
1819
}
1920
}

0 commit comments

Comments
 (0)