I wanted to have Generic MudTab where any component can be passed in and it will render it.
<MudTabs Elevation="1" Rounded="true" PanelClass="pa-6">
@ChildContent
</MudTabs>
@code
{
[Parameter] public RenderFragment? ChildContent { get; set; }
}
How do I render the MudPanel , the requirement is the user should be able to pass any component and it should render , How to handle how many panels are required for Mudtab?