title: Is it possible to import a group of images as an array? (create-react-app project)
body: <p>Is it possible to import a group of images as an array? (create-react-app project) like written below but as a single-line? </p>
  
  <pre><code>import Hat1 from '../../assets/img/accesories/hats/hat1.png';
  import Hat2 from '../../assets/img/accesories/hats/hat2.png';
  import Hat3 from '../../assets/img/accesories/hats/hat3.png';
  import Hat4 from '../../assets/img/accesories/hats/hat4.png';
  import Hat5 from '../../assets/img/accesories/hats/hat5.png';
  import Hat6 from '../../assets/img/accesories/hats/hat6.png';
  
  const hatsArr = [
      Hat1,
      Hat2,
      Hat3,
      Hat4,
      Hat5,
      Hat6
  ];
  </code></pre>