The requirement that I am having is to generate a component that can access and render the child components that are added to it in the markup.
HTML
<my-parent>
<span>hey</span>
<span>heck</span>
</my-parent>
Rendered HTML
<div>
<span>before</span>
<span>hey</span>
<span>after</span>
<br />
<span>before</span>
<span>heck</span>
<span>after</span>
</div>
I was not able to find any resource to help me with it. This is a behavior similar to how mat select interacts with mat options.