Vizzuality/landgriffon

View on GitHub
cookie-traceability/src/components/icons/cocoa/component.tsx

Summary

Maintainability
A
3 hrs
Test Coverage
const CocoaIcon: React.FC<React.HTMLAttributes<SVGElement>> = ({
  className = 'fill-secondary',
}) => (
  <svg
    width="18"
    height="18"
    viewBox="0 0 18 18"
    fill="none"
    xmlns="http://www.w3.org/2000/svg"
    className={className}
  >
    <path d="M6.54025 1.75293C3.99103 1.75293 1.75488 4.74322 1.75488 8.1525C1.75488 10.7896 3.13849 13.2525 4.99229 14.1797C4.38676 12.4056 4.83019 10.0727 6.18976 8.157C5.75841 7.44281 5.37687 6.55996 5.37687 5.37491C5.37687 4.29984 6.06141 3.26044 6.09072 3.21664C6.19147 3.06551 6.39586 3.02489 6.54732 3.12532C6.69846 3.22575 6.73907 3.43046 6.63865 3.58193C6.63239 3.59115 6.03541 4.50202 6.03541 5.37491C6.03541 6.29161 6.29063 6.9943 6.62385 7.59621C6.77137 7.4217 6.9242 7.2502 7.08818 7.08622C8.10102 6.07339 9.33966 5.35068 10.6446 4.98519C9.77331 3.04611 8.17146 1.75293 6.54025 1.75293ZM12.7167 5.37942C12.375 5.36452 12.0184 5.38323 11.6517 5.43665C10.1565 5.65364 8.70097 6.40465 7.55379 7.55183C5.19456 9.91139 4.64649 13.5027 6.38076 15.237C7.03469 15.8912 8.01015 16.2415 9.13198 16.2415C9.40264 16.2415 9.68287 16.2206 9.96802 16.1791C11.4632 15.9621 12.9181 15.2111 14.0653 14.0639C16.4248 11.7044 16.9732 8.11308 15.2389 6.37881C14.6299 5.76982 13.7416 5.4241 12.7167 5.37942ZM14.2672 7.35633C14.4493 7.35633 14.5965 7.50384 14.5965 7.6856C14.5965 8.9421 13.6316 10.5155 10.923 11.1642C8.0182 11.8589 8.01811 13.4243 8.01811 14.2652C8.01811 14.447 7.87093 14.5945 7.68884 14.5945C7.50675 14.5945 7.35957 14.447 7.35957 14.2652C7.35957 13.3897 7.35971 11.3402 10.77 10.5243C13.1058 9.96485 13.9379 8.69087 13.9379 7.6856C13.9379 7.50384 14.0851 7.35633 14.2672 7.35633Z" />
  </svg>
);

export default CocoaIcon;