Skip to content

The Open Standard for Generative UI

558 B
Raw Blame
import type { Integration } from "./data";

type IntegrationLogoProps = {
  integration: Pick<Integration, "logo" | "name">;
  className: string;
};

export function IntegrationLogo({ integration, className }: IntegrationLogoProps) {
  return (
    <span className={className} aria-hidden="true">
      {/* Brand marks are intentionally rendered at their intrinsic aspect ratio. */}
      {/* eslint-disable-next-line @next/next/no-img-element */}
      <img alt={`${integration.name} logo`} src={integration.logo ?? "/shiro-logo.svg"} />
    </span>
  );
}