using AIStudio.Components;
using Microsoft.AspNetCore.Components;
namespace AIStudio.Assistants.BeyondFactsLab;
///
/// Shows the notes of the BeyondFacts Lab, which the person confirms having read.
///
public partial class BflNoticeDialog : MSGComponentBase
{
[CascadingParameter]
private IMudDialogInstance MudDialog { get; set; } = null!;
///
/// Gets or sets the notes, as Markdown.
///
[Parameter]
public string Notice { get; set; } = string.Empty;
private void Confirm() => this.MudDialog.Close(DialogResult.Ok(true));
}