Is it possible to restrict the RenderFragment Child Content of a component to only allow certain components?
For example
<MyParentComponent>
<Children>
<AcceptedChild/>
<InvalidChild/> <-- throw err since it shouldn't be accepted
</Children>
</MyParentComponent>
EDIT:
<DataGrid>
<DataGridColumns>
<DataGridColumn/>
<DataGridColumn/>
<NotADataGridColumn/> <--- throw error
</DataGridColumns>
</DataGrid>