@if (string.IsNullOrEmpty(Text)) { No detail recorded. } else {
@Summary
@Text
} @code { /// The domain-specific label for this native disclosure and its full diagnostic text. [Parameter] public string Summary { get; set; } = "Full details"; /// Complete diagnostic text rendered as escaped text, never executable markup. [Parameter] public string? Text { get; set; } }