@if (!string.IsNullOrWhiteSpace(Avatar) || AvatarTemplate != null)
{
}
@if (!string.IsNullOrWhiteSpace(Title) || TitleTemplate != null
|| !string.IsNullOrWhiteSpace(Description) || DescriptionTemplate != null)
{
}
@code{
[Parameter]
public string Title { get; set; }
[Parameter]
public RenderFragment TitleTemplate { get; set; }
[Parameter]
public string Description { get; set; }
[Parameter]
public RenderFragment DescriptionTemplate { get; set; }
[Parameter]
public string Avatar { get; set; }
[Parameter]
public RenderFragment AvatarTemplate { get; set; }
protected override void OnInitialized()
{
base.OnInitialized();
ClassMapper.Add("ant-card-meta");
}
}