I am trying to render icons with different styles within a map function to avoid much code duplication.