text: import React from 'react';
  
  import itemUtils from 'utils/itemUtils';
  
  import styles from './styles';
  
  export default function WearableImage({ wearable }) {
      const classes = styles();
      const name = itemUtils.getItemNameById(wearable.id || wearable.erc1155TypeId);
  
      return (
          <div className={classes.iconWrapper}>
              <img
                  src={itemUtils.getWearableImg(wearable.id || wearable.erc1155TypeId)}
                  alt={name}
                  className={classes.icon}
              />
          </div>
      );
  }
  