Skip to content

Commit

Permalink
added link
Browse files Browse the repository at this point in the history
  • Loading branch information
remko48 committed Jan 21, 2025
1 parent e4247d2 commit 91c11a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/entities/menu/menu.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const mockMenuData = (): TMenu[] => [
uuid: '123e4567-e89b-12d3-a456-426614174000',
name: 'Main Menu',
position: 1,
items: [{ name: 'Home', description: 'Home', slug: '/', icon: 'home' }],
items: [{ name: 'Home', description: 'Home', slug: '/', icon: 'home', link: '/' }],
createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString(),
},
Expand Down
2 changes: 2 additions & 0 deletions src/entities/menu/menu.types.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
export type TMenuSubItem = {
name: string
slug: string
link: string
description?: string
icon?: string
}

export type TMenuItem = {
name: string
slug: string
link: string
description?: string
icon?: string
items?: TMenuSubItem[]
Expand Down

0 comments on commit 91c11a6

Please sign in to comment.