ant-design-blazor/components/message/Message.razor
zxyao 28e195806d
fix(module: message): Message non thread safe (#3698)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-02-28 23:29:00 +08:00

19 lines
515 B
C#

@namespace AntDesign
@inherits AntDomComponentBase
@{
var coinfigs = _configDict.Values.OrderBy(x=>x.Order).ToList();
if (coinfigs.Count > 0)
{
<div>
<div class="ant-message" style="top: @(_top)px;" @ref="Ref">
<span>
@foreach (var config in coinfigs)
{
<MessageItem @key="config" Config="config"></MessageItem>
}
</span>
</div>
</div>
}
}