Is it possible to make a re-usable icon component that doesn't create duplicate TemplateRefs

后端 未结 0 1060
庸人自扰
庸人自扰 2021-01-25 11:42

I have attempted to create an IconComponent that shows a different SVG icon depending on the string that is passed in.

Example:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题