I need to display a list of objects of different types in a repeating list of MaterialExpansionPanels. When the user clicks on each panel to expand it, the contents depend on the type of object.
I don't really have any idea for how to proceed - would the deferredContent directive allow me to determine which component to display at runtime when the panel is expanded? How would I specify the contents of the panel from my component code?
An example of something similar would be helpful!