add Visible back to Tag.razor.cs

This commit is contained in:
anranruye 2021-06-18 16:31:31 +08:00
parent b8658549e6
commit eb8e92f1fd

View File

@ -107,7 +107,13 @@ namespace AntDesign
[Parameter]
public EventCallback OnClick { get; set; }
/// <summary>
/// Whether the Tag is closed or not
/// </summary>
[Parameter]
public bool Visible { get; set; } = true;
private bool _isPresetColor;
private bool _isCustomColor;
private bool _closed;