"use client"; import React from "react"; import { RefreshCw } from "lucide-react"; import { Button } from "@micprotocol/ui"; export function AdminHeader({ title, subtitle, onRefresh, refreshing, actions, }: { title: string; subtitle?: string; onRefresh?: () => void; refreshing?: boolean; actions?: React.ReactNode; }) { return (

{title}

{subtitle ? (

{subtitle}

) : null}
{actions} {onRefresh ? ( ) : null}
); }