<MudPaper Elevation="0" Class="ma-1 pa-1">
	@if (IsSelected)
	{

		<MudStack>

			<MudText Typo="Typo.caption" Color="Color.Primary">（选中状态，在此编辑具体题目内容）</MudText>

			<MudTextField Label="Question" @bind-Value="QuestionItem.Question.QuestionText" AutoGrow="true"></MudTextField>
		</MudStack>



		<MudTextField Label="Answer" @bind-Value="QuestionItem.Question.CorrectAnswer"></MudTextField>

	}
	else
	{
		<MudTextField @bind-Value=QuestionItem.Question.QuestionText AutoGrow="true">  </MudTextField>
	}
</MudPaper>


@code {

	[Parameter]
	public QuestionItem QuestionItem { get; set; }


	[Parameter]
	public bool IsSelected { get; set; }

}