Component with list

I made a component. I can use this component in a list.

How can I make a custom component like list.

And with code I get the childrens for furter doings.
ionic 3.x

Thanks in advance, anna

Please edit your post and use the </> button above the post input field to format your code or error message or wrap it in ``` (“code fences”) manually. This will make sure your text is readable and if it recognizes the programming language it also automatically adds code syntax highlighting. Thanks.