Initial commit
This commit is contained in:
5
resources/js/types/global.d.ts
vendored
Normal file
5
resources/js/types/global.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import type { route as routeFn } from 'ziggy-js';
|
||||
|
||||
declare global {
|
||||
const route: typeof routeFn;
|
||||
}
|
||||
19
resources/js/types/index.d.ts
vendored
Normal file
19
resources/js/types/index.d.ts
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import { LucideIcon } from 'lucide-react';
|
||||
import type { Config } from 'ziggy-js';
|
||||
|
||||
export interface BreadcrumbItem {
|
||||
title: string;
|
||||
href: string;
|
||||
}
|
||||
|
||||
export interface NavGroup {
|
||||
title: string;
|
||||
items: NavItem[];
|
||||
}
|
||||
|
||||
export interface NavItem {
|
||||
title: string;
|
||||
href: string;
|
||||
icon?: LucideIcon | null;
|
||||
isActive?: boolean;
|
||||
}
|
||||
1
resources/js/types/vite-env.d.ts
vendored
Normal file
1
resources/js/types/vite-env.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/// <reference types="vite/client" />
|
||||
Reference in New Issue
Block a user