@typeparam MyType <SomeHtml /> @code { [Parameter] public List<MyType> MyList{ get; set; } }
<MyComponent MyType="MyTypeABC" MyList="@MyData.MyList" />
References
https://blazor-university.com/templating-components-with-renderfragements/using-typeparam-to-create-generic-components/
https://stackoverflow.com/questions/60393496/c-sharp-blazor-how-to-use-typeparam-in-code-behind-with-workaround