Api-PWA/DocuMed.PWA/Shared/ItemTemplates/MedicalHistoryTemplateItemT...

20 lines
761 B
Plaintext

<MudCard @onclick="(async () => { await Clicked.InvokeAsync(MedicalHistoryTemplate); })" Elevation="2" class="rounded-lg">
<MudCardContent>
<p class="text-center font-extrabold mt-1 text-gray-600 text-lg">@MedicalHistoryTemplate.ChiefComplaint</p>
<MudPaper Elevation="0"
class="bg-[#FFDACF] text-center text-[#D03405] rounded-full py-0.5 mt-3 mr-auto text-xs font-iranyekan">
<p>بخش @MedicalHistoryTemplate.SectionName</p>
</MudPaper>
</MudCardContent>
</MudCard>
@code {
[Parameter]
public MedicalHistoryTemplateSDto MedicalHistoryTemplate { get; set; } = new();
[Parameter]
public EventCallback<MedicalHistoryTemplateSDto> Clicked { get; set; }
}