import { useNavigate, useNavigation } from "@remix-run/react"; import { Button } from "~/components/ui/button"; import { ArrowLeft, ArrowRight } from "lucide-react"; import { SidebarTrigger } from "~/components/ui/sidebar"; export interface BreadcrumbItem { label: string | React.ReactNode; href?: string; } export interface PageHeaderAction { label: string; icon?: React.ReactNode; onClick: () => void; variant?: "default" | "secondary" | "outline" | "ghost"; } export interface PageHeaderTab { label: string; value: string; isActive: boolean; onClick: () => void; } export interface PageHeaderProps { title: string; breadcrumbs?: BreadcrumbItem[]; actions?: PageHeaderAction[]; actionsNode?: React.ReactNode; tabs?: PageHeaderTab[]; showTrigger?: boolean; } // Back and Forward navigation component function NavigationBackForward() { const navigate = useNavigate(); return (