@codesinger0/shared-components 1.0.48 → 1.0.50

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.
@@ -0,0 +1,26 @@
1
+ // Menu.d.ts
2
+ export interface BusinessInfo {
3
+ name: string;
4
+ logo: string;
5
+ }
6
+
7
+ export interface NavigationItem {
8
+ label: string;
9
+ href: string;
10
+ adminRoute?: boolean;
11
+ }
12
+
13
+ export interface MenuProps {
14
+ businessInfo: BusinessInfo;
15
+ navigationItems: NavigationItem[];
16
+ AuthButtonsComponent?: React.ComponentType<{ isMobile?: boolean }>;
17
+ isAdmin?: boolean;
18
+ mobileBreakpoint?: number;
19
+ logoClassName?: string;
20
+ menuItemClassName?: string;
21
+ sidebarWidth?: string;
22
+ onMenuItemClick?: (item: NavigationItem) => void;
23
+ }
24
+
25
+ declare const Menu: React.FC<MenuProps>;
26
+ export default Menu;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codesinger0/shared-components",
3
- "version": "1.0.48",
3
+ "version": "1.0.50",
4
4
  "description": "Shared React components for customer projects",
5
5
  "main": "dist/index.js",
6
6
  "files": [