import React from "react";
import LLMResponseInspector from "./LLMResponseInspector";

export default function LLMResponseInspectorDrawer({
  jsonResponses,
  showDrawer,
  updateResponses,
}) {
  return (
    <div
      className="inspect-responses-drawer"
      style={{ display: showDrawer ? "initial" : "none" }}
    >
      <div
        className="inspect-response-container nowheel nodrag"
        style={{ margin: "0px 10px 10px 12px" }}
      >
        <LLMResponseInspector jsonResponses={jsonResponses} updateResponses={updateResponses} />
      </div>
    </div>
  );
}
