import React from "react";
import { IntegrationLogoSvgWrapper, SvgLogoProps } from "./wrapper";

export const AddigySvg = ({ color, square, ...rest }: SvgLogoProps) => {
  const viewBox = "0 0 32 32";
  const path = (
    <>
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M26.4246 22.7281L15.2402 7.84787L21.3036 5.93106L28.8469 15.9669L26.4246 22.7281ZM0 27.96H30.3571L32 15.7831L22.3505 3L6.8423 4.40076L22.71 25.5118L20.162 23.3718H12.8786L16.1671 20.0166L13.3872 17.6819L0 27.96Z"
        fill={color || "#53bdcd"}
      />
    </>
  );

  return (
    <IntegrationLogoSvgWrapper viewBox={viewBox} {...rest}>
      <title>Addigy integration logo</title>
      {path}
    </IntegrationLogoSvgWrapper>
  );
};
