The icon cannot be used as a JSX component, can you share the part of your code where you have used this 'icon'.