Ion-icon doesn't work with an array of icons names


I’m having an issue with ion-icon,

I’ve a list of icons names I get from a GraphQL query in my TypeScript component and I want to use them to show into my html component ion-icon which is inside of ion-list.

The issue here is that my ion-icons are not rendering at all. When I’m putting an ion-label next to the ion-icon it gives me the names of icons I want to use.

Any ideas how to make it work ?

Thanks everyone!

please share html part to understand your situation. also share error