Created
November 2, 2021 14:35
-
-
Save jonhilt/26b5a286c7de598dde44ae2b4b717fb4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="rounded-md bg-white p-2 flex shadow"> | |
<div> | |
<span class="block mb-4">@Text</span> | |
</div> | |
@if (!string.IsNullOrEmpty(Initials)) | |
{ | |
<div class="flex-none ml-2 w-8 h-8 rounded-full flex justify-center items-center bg-purple-400"> | |
<span class="text-sm text-white">@Initials</span> | |
</div> | |
} | |
</div> | |
@code { | |
[Parameter] | |
public string Initials { get; set; } | |
[Parameter] | |
public string Text { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment