docs: function iconSpriteLoader({ customSpriteId, fetchOptions, useCache } = {}) {
    const spriteId = customSpriteId || ICON_SPRITE_ID
  
    if (
      useCache &&
      localStorage &&
      localStorage.getItem &&
      localStorage.getItem('ICON_SPRITE_ID') === spriteId
    ) {
      // Current version is in localStorage, get it and inject it
      document.body.insertAdjacentHTML(
        'afterbegin',
        localStorage.getItem('SVG_SPRITE_DATA')
      )
    } else {
      fetch(spriteId, fetchOptions)
        .then(res => {
          if (!res.ok) throw new Error(res.statusText)
          return res
        })
        .then(res => res.text())
        .then(svgSprite => {
          document.body.insertAdjacentHTML('afterbegin', svgSprite)
          // Add version and data to localstorage for subsequent fetches 🎉
          if (localStorage && localStorage.setItem) {
            localStorage.setItem('ICON_SPRITE_ID', spriteId)
            localStorage.setItem('SVG_SPRITE_DATA', svgSprite)
          }
        })
        // eslint-disable-next-line
        .catch(err => console.warn(`SVG sprite fetch failure: ${err.message}`))
    }
  }