import type { LucideIcon } from "@/components/icons/platform-icons"; import type { ReactNode } from "react"; import { cn } from "@/lib/utils"; type WidgetCardProps = { title?: string; icon?: LucideIcon; children: ReactNode; className?: string; }; export function WidgetCard({ title, icon: Icon, children, className, }: WidgetCardProps) { return (
{/* Subtle accent top highlight */}
{title ? (
{Icon ? (
) : null}

{title}

) : null} {children}
); }