@namespace AntDesign @inherits NotificationBase
@if (Config.Icon != null) { @Config.Icon } else if (Config.NotificationType != NotificationType.None) { switch (Config.NotificationType) { case NotificationType.Success: { break; } case NotificationType.Warning: { break; } case NotificationType.Error: { break; } case NotificationType.Info: { break; } } }
@{ if (Config.Message.IsT0) { @((MarkupString)(Config.Message.AsT0)) } else { @Config.Message.AsT1 } }
@{ if (Config.Description.IsT0) { @((MarkupString)(Config.Description.AsT0)) } else { @Config.Description.AsT1 } }
@if (Config.Btn != null) { @Config.Btn }
@Config.CloseIcon