imgsrc = (filePath, returnNoImageFound = true) => {
  try {
    return require('../public/images/' + filePath).default;
  } catch (e) {
    if (!returnNoImageFound) {
      return null;
    }

    return require('../public/images/no-image.png').default;
  }
}
handle image import into the program.
default path: ../public/images/
@param filePath
@param returnNoImageFound (optional)
@returns {*}