@omniumretail/component-library 1.3.22 → 1.3.23
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.
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { MenuItem } from './Header.types';
|
|
2
2
|
export declare const getMenuTopList: (onHome: () => void) => MenuItem[];
|
|
3
|
-
export declare const getMenuBottomList: (onProfile: () => void, onLogout: () => void, onSupport: () => void, userName?: string) => MenuItem[];
|
|
3
|
+
export declare const getMenuBottomList: (onProfile: () => void, onLogout: () => void, onSupport: () => void, userName?: string, showSupport?: boolean) => MenuItem[];
|
|
@@ -3,5 +3,5 @@ import { HeaderProps } from './Header.types';
|
|
|
3
3
|
* Header component to display navigation bar with dropdown menus and action button.
|
|
4
4
|
* @param {HeaderProps} props - Properties passed to the component.
|
|
5
5
|
*/
|
|
6
|
-
export declare const Header: ({ menuList, actionButton, logout, homeUrl, profileUrl, onLeavingPage, userName, pageTitle, onFilterChange, notifications, onNotificationClick, handleMarkAllAsRead, shouldConfirmNavigation, customLogoClass, companyName, onSupportSubmit, applicationOptions, onProfileClick, onHomeClick }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const Header: ({ menuList, actionButton, logout, homeUrl, profileUrl, onLeavingPage, userName, pageTitle, onFilterChange, notifications, onNotificationClick, handleMarkAllAsRead, shouldConfirmNavigation, customLogoClass, companyName, onSupportSubmit, applicationOptions, onProfileClick, onHomeClick, showSupport, }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default Header;
|