@using Frontend.Models
@if (Message.Left) {

@Message.Text

@Message.Sender

} else {

@Message.Text

@Message.Sender

}
@code { [Parameter] public ChatMessage Message { get; set; } = new() { Left = true, Sender = "default", Text = "default" }; }