Can we restrict the child component type in RenderFragment property #21141
Labels
area-blazor
Includes: Blazor, Razor Components
✔️ Resolution: Duplicate
Resolved as a duplicate of another issue
Status: Resolved
This is the Blazor component project case.
Can we restrict the child component type in RenderFragment property?
I create the container component but I can't restrict the child component type, I try to use the TagHelper but it seems not to work yet.
I want the code like this
There's a property in the container component.
And I create the child item like this one:
The text was updated successfully, but these errors were encountered: