@namespace AntDesign @inherits AntDomComponentBase
@if (Image.IsT0 && !string.IsNullOrEmpty(Image.AsT0)) { Description.TryPickT0(out string des, out _); string alt = !string.IsNullOrEmpty(des) ? des : "empty"; @alt } else if (Simple) { @PRESENTED_IMAGE_SIMPLE } else if (Image.IsT1 && Image.AsT1 != null) { @Image.AsT1 } else { @PRESENTED_IMAGE_DEFAULT }
@if (Description.IsT0 && !string.IsNullOrEmpty(Description.AsT0)) {

@Description.AsT0

} @if (Description.IsT2 && Description.AsT2 != null) {

@Description.AsT2

}
@code { public static RenderFragment PRESENTED_IMAGE_DEFAULT =@; public static RenderFragment PRESENTED_IMAGE_SIMPLE = @; }