mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-12-02 12:09:59 +08:00
!2531 fix(#I4XVKU): Light component support custom class html attribute
* fix: Light 组件支持自定义 class 属性
This commit is contained in:
parent
04070c1ac5
commit
ba43ff1802
@ -17,6 +17,7 @@ public partial class Light
|
||||
protected string? ClassString => CssBuilder.Default("light")
|
||||
.AddClass("flash", IsFlash)
|
||||
.AddClass($"light-{Color.ToDescriptionString()}", Color != Color.None)
|
||||
.AddClassFromAttributes(AdditionalAttributes)
|
||||
.Build();
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user