@omniumretail/component-library 1.3.26 → 1.3.27

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.
@@ -26442,7 +26442,8 @@ const Header = ({
26442
26442
  applicationOptions,
26443
26443
  onProfileClick,
26444
26444
  onHomeClick,
26445
- showSupport = false
26445
+ showSupport = false,
26446
+ onSupportModalOpen
26446
26447
  }) => {
26447
26448
  const [isMenuOpen, setIsMenuOpen] = useState(false);
26448
26449
  const [activeDropdown, setActiveDropdown] = useState(null);
@@ -26478,6 +26479,9 @@ const Header = ({
26478
26479
  }
26479
26480
  };
26480
26481
  const onSupport = () => {
26482
+ if (onSupportModalOpen) {
26483
+ onSupportModalOpen();
26484
+ }
26481
26485
  setIsSupportModalVisible(true);
26482
26486
  setIsMenuOpen(false);
26483
26487
  };