@inherits PanelComponent
@InteractionString
@if ( IsHoldInteraction ) {
}
@code { [Property] public string InteractionString { get; set; } = "Interact"; [Property] public bool IsHoldInteraction { get; set; } = false; [Property] public float ProgressionHold { get; set; } = 0f; [Property] public bool IsPressed { get; set; } = false; public void SetPressed(bool value) { IsPressed = value; StateHasChanged(); // << 🔁 вручную обновим UI } }