span>,
    ]
  },
  {
    <span class="hljs-attr">text</span>: <span class="hljs-string">'Item 2'</span>,
    <span class="hljs-attr">children</span>: [
      <span class="hljs-string">'Sub item 1'</span>,
      <span class="hljs-string">'Sub item 2'</span>,
    ]
  }
])</code></pre></div></div></div></div></div></div> </div></div></div><div class="qm-docs-topic"><div class="qm-docs-anchor" id="api"><div class="qm-docs-topic-header qm-header-font">Api<a class="qm-docs-anchor-icon" href="#api"></a></div></di