@xapp/chat-widget 1.65.2 → 1.65.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1193,9 +1193,8 @@ function _interopDefaultLegacy$1 (e) { return e && typeof e === 'object' && 'def
1193
1193
  var React__default = /*#__PURE__*/_interopDefaultLegacy$1(React);
1194
1194
 
1195
1195
  var IconButton = function (props) {
1196
- var type = props.type || "button";
1197
1196
  var Icon = props.icon;
1198
- return (React__default["default"].createElement("button", { type: type, tabIndex: props.tabIndex ? Number(props.tabIndex) : 0, className: "xapp-search-icon-button ".concat(props.className || ""), onClick: props.onClick },
1197
+ return (React__default["default"].createElement("div", { tabIndex: props.tabIndex ? Number(props.tabIndex) : 0, className: "xapp-search-icon-button ".concat(props.className || ""), onClick: props.onClick },
1199
1198
  React__default["default"].createElement("div", { className: "xapp-search-icon-button__content" },
1200
1199
  React__default["default"].createElement(Icon, null))));
1201
1200
  };