code: function ResultPane(props) {
      var state = props.state, actions = props.actions, event = props.event;
      function expanded(path, expanded) {
          var result = isValueDisplayExpanded(state, path);
          if (typeof expanded === "boolean") {
              actions.setDetailsPaneExpanded({
                  expanded: !result,
                  path: path
              });
          }
          return result;
      }
      return (h("div", { class: "result-pane scrollable" }, ObjectView({ value: event.result, expanded: expanded })));
  }
docs: # ResultPane