Add button to create a newinvoice directly from within the sidebar

This commit is contained in:
2025-10-22 12:35:40 +02:00
parent 25467be584
commit 24ccb5ada6
3 changed files with 26 additions and 4 deletions
+8
View File
@@ -24,7 +24,15 @@ export interface NavItem {
icon?: LucideIcon;
color?: string;
isActive?: boolean;
action?: NavAction
}
export interface NavAction {
title: string;
href: NonNullable<InertiaLinkProps['href']>;
icon?: LucideIcon;
color?: string;
}
export type AppPageProps<T extends Record<string, unknown> = Record<string, unknown>> = T & {
name: string;