(function (blocks, element) {
  blocks.registerBlockType("commercebird/ai-review-summary", {
    edit: function () {
      return element.createElement(
        "div",
        {
          style: {
            border: "1px dashed #ccd0d4",
            padding: "12px",
            borderRadius: "2px",
          },
        },
        element.createElement("strong", {}, "AI Review Summary"),
        element.createElement(
          "p",
          { style: { margin: "4px 0 0", color: "#757575" } },
          "The AI-generated review summary will be displayed here on the frontend.",
        ),
      );
    },
  });
})(window.wp.blocks, window.wp.element);
