Package enhancements for Marketplace

This commit is contained in:
sbwalker
2023-07-09 08:36:14 -04:00
parent 1b2de37c4e
commit 9a3b458c45
9 changed files with 37 additions and 12 deletions

View File

@ -17,7 +17,10 @@
<hr class="app-rule" />
</div>
<div class="collapse @_show" id="@Name">
@ChildContent
@if (ChildContent != null)
{
@ChildContent
}
</div>
@code {
@ -26,7 +29,7 @@
private string _show = string.Empty;
[Parameter]
public RenderFragment ChildContent { get; set; }
public RenderFragment ChildContent { get; set; } = null;
[Parameter]
public string Name { get; set; } // required - the name of the section