import { Bot } from "lucide-react";
import { providerIconSpec } from "@/lib/provider-branding";
/** Locally bundled provider marks; no third-party request is needed to render them. */
export default function ProviderIcon({
provider,
size = 13,
className = "",
}: {
provider?: string | null;
size?: number;
className?: string;
}) {
const spec = providerIconSpec(provider);
if (!spec) {
return ;
}
return (
{/* eslint-disable-next-line @next/next/no-img-element */}
{spec.darkFile && (
// eslint-disable-next-line @next/next/no-img-element
)}
);
}