mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-10 23:47:21 +00:00
22 lines
605 B
C#
22 lines
605 B
C#
using AIStudio.Components;
|
|
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace AIStudio.Assistants.BeyondFactsLab;
|
|
|
|
/// <summary>
|
|
/// Shows the notes of the BeyondFacts Lab, which the person confirms having read.
|
|
/// </summary>
|
|
public partial class BflNoticeDialog : MSGComponentBase
|
|
{
|
|
[CascadingParameter]
|
|
private IMudDialogInstance MudDialog { get; set; } = null!;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the notes, as Markdown.
|
|
/// </summary>
|
|
[Parameter]
|
|
public string Notice { get; set; } = string.Empty;
|
|
|
|
private void Confirm() => this.MudDialog.Close(DialogResult.Ok(true));
|
|
} |