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

const GithubSvg = ({ color = "#161514", square, ...rest }: SvgLogoProps) => (
  <IntegrationLogoSvgWrapper viewBox="0 0 32 32" {...rest}>
    <title>Github integration logo</title>
    <path
      fill={color}
      d="M16 0.399994C7.16 0.399994 0 7.56399 0 16.4C0 23.4707 4.584 29.4667 10.94 31.58C11.74 31.7307 12.0333 31.236 12.0333 30.8107C12.0333 30.4307 12.02 29.424 12.0133 28.0907C7.56267 29.056 6.624 25.944 6.624 25.944C5.896 24.0973 4.844 23.604 4.844 23.604C3.39467 22.612 4.956 22.632 4.956 22.632C6.56267 22.744 7.40667 24.28 7.40667 24.28C8.83333 26.7267 11.152 26.02 12.0667 25.6107C12.2107 24.576 12.6227 23.8707 13.08 23.4707C9.52667 23.0707 5.792 21.6947 5.792 15.564C5.792 13.8173 6.412 12.3907 7.43867 11.2707C7.25867 10.8667 6.71867 9.23999 7.57867 7.03599C7.57867 7.03599 8.91867 6.60666 11.9787 8.67599C13.2587 8.31999 14.6187 8.14399 15.9787 8.13599C17.3387 8.14399 18.6987 8.31999 19.9787 8.67599C23.0187 6.60666 24.3587 7.03599 24.3587 7.03599C25.2187 9.23999 24.6787 10.8667 24.5187 11.2707C25.5387 12.3907 26.1587 13.8173 26.1587 15.564C26.1587 21.7107 22.4187 23.064 18.8587 23.4573C19.4187 23.9373 19.9387 24.9187 19.9387 26.4173C19.9387 28.5587 19.9187 30.2787 19.9187 30.7987C19.9187 31.2187 20.1987 31.7187 21.0187 31.5587C27.42 29.46 32 23.46 32 16.4C32 7.56399 24.836 0.399994 16 0.399994"
    />
  </IntegrationLogoSvgWrapper>
);

export { GithubSvg };
