Files
WatchIt/WatchIt.Website/Components/Subcomponents/Common/LoadingButtonContent.razor

15 lines
194 B
Plaintext
Raw Normal View History

2024-10-13 12:10:52 +02:00
@if (IsLoading)
{
<LoadingInline Content="@(LoadingContent)"/>
2024-10-13 12:10:52 +02:00
}
else
{
if (ChildContent is null)
{
<span>@Content</span>
}
else
{
@(ChildContent)
}
}