'use client' import { Button } from '@/components/ui/button' import { ArrowLeft } from 'lucide-react' import { motion } from 'framer-motion' import Link from 'next/link' import { ReactNode } from 'react' interface DashboardHeaderProps { title: string description?: string icon?: ReactNode backHref?: string actions?: ReactNode } export function DashboardHeader({ title, description, icon, backHref = "/dashboard", actions }: DashboardHeaderProps) { return (
{icon}

{title}

{description && (

{description}

)}
{actions && (
{actions}
)}
) } export { DashboardHeader as default }