Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

399 B
Raw Blame
import { frogAvatarMarkup } from "../lib/frogAvatar";

export function FrogAvatar({ id, size = 20 }: { id: string; size?: number }) {
  return (
    <svg
      width={size}
      height={size}
      viewBox="0 0 100 100"
      role="img"
      xmlns="http://www.w3.org/2000/svg"
      style={{ display: "block" }}
      dangerouslySetInnerHTML={{ __html: frogAvatarMarkup(id, size) }}
    />
  );
}