@linzjs/lui 18.1.0 → 18.3.0

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/lui.esm.js CHANGED
@@ -637,6 +637,7 @@ var LuiStaticMessage = function (props) {
637
637
  props.children,
638
638
  (props.closable === undefined || props.closable) && (React__default.createElement("button", { "aria-label": "Close dialog", onClick: function () {
639
639
  setDisplay(false);
640
+ props.onClose && props.onClose();
640
641
  } },
641
642
  React__default.createElement(LuiIcon, { name: "ic_clear", alt: 'close', size: "md", className: "LuiStaticMsg-close" }))))) : (React__default.createElement(React__default.Fragment, null));
642
643
  };