@if (IsTurn) { Turn   } @if (InCheck) { Check   } @if (string.IsNullOrEmpty(Name)) { Empty Seat } else { @Name }

@code { [Parameter][EditorRequired] public bool IsTurn { get; set; } [Parameter][EditorRequired] public bool InCheck { get; set; } [Parameter][EditorRequired] public string Name { get; set; } = string.Empty; }