docs: function cleanChildren(array) {
      if (!Array.isArray(array)) {
          return array;
      }
      return array.map(function(el) {
          if (el.type == "#text") {
              return el.children;
          } else {
              return {
                  type: el.type,
                  props: el.props,
                  children: cleanChildren(el.children),
              };
          }
      });
  }