Widget Helper stripping attributes?

借助此主题,我能够使用 h 辅助函数创建一个 SVG 对象:

    let logo = h("svg", {
        "attributes": {
          "width": "22",
          "height": "24",
          "viewBox": "0 0 22 24",
          "fill": "none",
          "xmlns": "http://www.w3.org/2000/svg"
        }
      },
      h("path", {
        "attributes": {
          "d": "M11.5992 4.29387L15.4141 ... 0V4.29387Z",
          "fill": "#000000"
        }
      })
    );

但是,我发现 viewBox() 属性始终以全小写形式渲染。
SVG 图像是使用所有定义的属性 (
) 生成的,但在页面上未呈现。我错过了什么?

我意识到这是由 virtual-dom 包提供的,但我在那里找不到解决方案。