Skip to content

Commit f2a15b5

Browse files
authored
Update index.d.ts : add property type?: 'href' | 'route'
add property to BreadcrumbItem NavItem
1 parent a994387 commit f2a15b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

resources/js/types/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ export interface Auth {
99
export interface BreadcrumbItem {
1010
title: string;
1111
href: string;
12+
type?: 'href' | 'route';
1213
}
1314

1415
export interface NavItem {
1516
title: string;
1617
href: string;
18+
type?: 'href' | 'route';
1719
icon?: LucideIcon;
1820
isActive?: boolean;
1921
}

0 commit comments

Comments
 (0)