Add MudJustifiedText component with justified text alignment

This commit is contained in:
tsommer committed 2024-09-08 16:24:22 +02:00
1 parent 235e9cce77
commit f0c6613521
1 file changed
+16
@@ -0,0 +1,16 @@
namespace AIStudio.Components;
public class MudJustifiedText : MudText
{
#region Overrides of ComponentBase
protected override async Task OnInitializedAsync()
{
this.Align = Align.Justify;
this.Style = "hyphens: auto; word-break: auto-phrase;";
await base.OnInitializedAsync();
}
#endregion
}