<commit_before>import React from 'react';
import PropTypes from 'prop-types';
import { Link } from 'react-router-dom';
import routes from 'Constants/routes';
import style from './HeaderIcons.pcss';

const HeaderIcons = (props) => {
  if (!props.icons.length) {
    return false;
  }

  const icons = props.icons.map((icon) => {
    const img = <img src={icon.assetUrl} alt={icon.alt} />;<commit_msg>refactor(src/components/HeaderIcons.jsx): replace img tag with SVG component<commit_after>import React from 'react';
import PropTypes from 'prop-types';
import { Link } from 'react-router-dom';
import routes from 'Constants/routes';
import SVG from 'Components/SVG.jsx';
import style from './HeaderIcons.pcss';

const HeaderIcons = (props) => {
  if (!props.icons.length) {
    return false;
  }

  const icons = props.icons.map((icon) => {
    const img = <SVG url={icon.assetUrl} data-test="1" />;
{'fraction_non_alphanumeric': 0.15256124721603564, 'fraction_numerical': 0.0011135857461024498, 'mean_word_length': 4.351190476190476, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2622173', 'n_tokens_mistral': 290, 'n_tokens_neox': 288, 'n_words': 80}