mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-14 17:01:18 +08:00
19 lines
521 B
C#
19 lines
521 B
C#
@namespace AntDesign
|
|
@inherits NotificationBase
|
|
|
|
@foreach (var configKv in _configDict)
|
|
{
|
|
var placement = configKv.Key;
|
|
var configs = configKv.Value;
|
|
var className = GetClassName(placement);
|
|
var style = GetStyle(placement);
|
|
<div @key="placement" class="@className" style="@style">
|
|
<span>
|
|
@foreach (var itemConfig in configs)
|
|
{
|
|
<NotificationItem @key="itemConfig" Config="itemConfig" OnClose="RemoveItem" />
|
|
}
|
|
</span>
|
|
</div>
|
|
}
|