'use client' import type { ReactNode } from 'react' import { DashboardWidgetHelp } from '@/components/dashboard-widget-help' import type { DashboardWidgetId } from '@/lib/dashboard/layout' interface DashboardWidgetTitleRowProps { widgetId: DashboardWidgetId icon?: ReactNode title: string actions?: ReactNode className?: string } /** Titre widget : actions d’abord, aide « ? » en dernier — ne masque jamais la navigation. */ export function DashboardWidgetTitleRow({ widgetId, icon, title, actions, className = 'mb-3', }: DashboardWidgetTitleRowProps) { return (