/* eslint-disable @typescript-eslint/ban-ts-comment */
// @ts-nocheck
import { useIcon } from 'hooks';
import React from 'react';
import Svg, { Path, G, Defs, ClipPath, Rect } from 'react-native-svg';
import { IconProps } from '../types';

export const Link: React.FC<IconProps> = ({ colorVariant = 'body', ...props }) => {
  const { getIconColor } = useIcon();

  return (
    <Svg width="14" height="14" viewBox="0 0 14 14" fill="none" {...props}>
      <G clipPath="url(#clip0_3725_311027)">
        <Path
          d="M6.48352 10.201L3.88841 12.7958C3.74357 12.9406 3.50918 12.9406 3.36434 12.7958L1.20175 10.6335C1.05724 10.489 1.05724 10.2539 1.20175 10.1095L5.74318 5.56872C5.8877 5.42426 6.12277 5.42429 6.26723 5.56872L7.78108 7.0823C7.99467 7.29585 8.34097 7.29585 8.55456 7.0823C8.76814 6.86875 8.76811 6.52249 8.55456 6.30894L7.04073 4.79536C6.46971 4.22445 5.5407 4.22448 4.96969 4.79536L0.428223 9.33613C-0.142741 9.90701 -0.142741 10.836 0.428223 11.4068L2.59081 13.5691C3.16309 14.1413 4.08952 14.1414 4.66188 13.5691L7.25699 10.9744C7.47054 10.7608 7.47054 10.4146 7.25699 10.201C7.04341 9.98748 6.6971 9.98748 6.48352 10.201Z"
          fill={getIconColor(colorVariant)}
        />
        <Path
          d="M13.5716 2.59148L11.4091 0.429197C10.8368 -0.143025 9.91035 -0.143107 9.33799 0.429197L6.74288 3.02392C6.52932 3.23747 6.52932 3.58373 6.74288 3.79728C6.95646 4.01084 7.30279 4.01084 7.51638 3.79728L10.1115 1.20256C10.2563 1.05775 10.4907 1.05775 10.6356 1.20256L12.7981 3.36484C12.9427 3.5093 12.9427 3.74437 12.7981 3.88886L8.25671 8.42963C8.11222 8.57411 7.87715 8.57406 7.73266 8.42963L6.21881 6.91605C6.00522 6.70249 5.65891 6.70249 5.44533 6.91605C5.23175 7.1296 5.23178 7.47585 5.44533 7.68941L6.95916 9.20299C7.53016 9.77387 8.45916 9.7739 9.03021 9.20299L13.5717 4.66222C14.1426 4.09131 14.1426 3.16239 13.5716 2.59148Z"
          fill={getIconColor(colorVariant)}
        />
      </G>
      <Defs>
        <ClipPath id="clip0_3725_311027">
          <Rect width="14" height="14" fill="white" />
        </ClipPath>
      </Defs>
    </Svg>
  );
};
