import Svg, { Path } from "react-native-svg";
import type { SvgProps } from "react-native-svg";

const SvgComponent = ({ height, width, color }: SvgProps) => (
  <Svg width={width} height={height} viewBox='0 0 21 20' fill='none'>
    <Path
      fill={color}
      d='M13.4297 7.95005H15.2599C15.437 7.95005 15.5855 8.00998 15.7053 8.12984C15.825 8.24971 15.8849 8.39818 15.8849 8.57526C15.8849 8.75248 15.825 8.90089 15.7053 9.02047C15.5855 9.14019 15.437 9.20005 15.2599 9.20005H12.0547C11.8414 9.20005 11.6625 9.12783 11.5182 8.98339C11.3738 8.83908 11.3016 8.66026 11.3016 8.44693V5.24172C11.3016 5.06464 11.3615 4.91616 11.4814 4.7963C11.6012 4.67658 11.7497 4.61672 11.9268 4.61672C12.104 4.61672 12.2524 4.67658 12.372 4.7963C12.4917 4.91616 12.5516 5.06464 12.5516 5.24172V7.07193L16.4714 3.15193C16.5868 3.03651 16.7319 2.97748 16.9066 2.97484C17.0813 2.9722 17.229 3.03123 17.3497 3.15193C17.4704 3.27262 17.5307 3.41901 17.5307 3.59109C17.5307 3.76304 17.4704 3.90943 17.3497 4.03026L13.4297 7.95005ZM16.7005 17.0846C15.1301 17.0846 13.5524 16.7195 11.9674 15.9892C10.3825 15.2589 8.92637 14.2288 7.59887 12.8988C6.27151 11.5687 5.24269 10.1124 4.51241 8.53005C3.78213 6.94783 3.41699 5.37151 3.41699 3.80109C3.41699 3.54873 3.50033 3.33845 3.66699 3.17026C3.83366 3.00207 4.04199 2.91797 4.29199 2.91797H7.00991C7.22033 2.91797 7.40595 2.98665 7.56678 3.12401C7.72762 3.26123 7.82991 3.43082 7.87366 3.63276L8.35137 6.08464C8.38442 6.31214 8.37748 6.50762 8.33053 6.67109C8.28345 6.83457 8.19901 6.97186 8.0772 7.08297L6.15262 8.95651C6.46234 9.52373 6.81623 10.0603 7.21428 10.5663C7.6122 11.0721 8.04303 11.5553 8.50678 12.0157C8.96401 12.473 9.45012 12.8978 9.96512 13.2898C10.4801 13.6819 11.0362 14.0468 11.6335 14.3844L13.5035 12.4982C13.6339 12.3625 13.7918 12.2673 13.9772 12.2128C14.1625 12.1583 14.355 12.145 14.5549 12.1728L16.8689 12.644C17.0793 12.6996 17.251 12.8069 17.3841 12.9661C17.5171 13.1253 17.5837 13.3058 17.5837 13.5078V16.2096C17.5837 16.4596 17.4996 16.668 17.3314 16.8346C17.1632 17.0013 16.9529 17.0846 16.7005 17.0846ZM5.56116 7.7738L7.04845 6.35068C7.07512 6.32929 7.09248 6.29991 7.10053 6.26255C7.10859 6.22519 7.10727 6.19047 7.09658 6.15839L6.73428 4.29609C6.72359 4.25346 6.70491 4.22144 6.67824 4.20005C6.65158 4.17866 6.61685 4.16797 6.57408 4.16797H4.79199C4.75991 4.16797 4.73317 4.17866 4.71178 4.20005C4.69053 4.22144 4.67991 4.24818 4.67991 4.28026C4.72255 4.84971 4.81574 5.42818 4.95949 6.01568C5.1031 6.60332 5.30366 7.18936 5.56116 7.7738ZM12.8112 14.9757C13.3635 15.2332 13.9396 15.4301 14.5395 15.5663C15.1395 15.7024 15.7001 15.7833 16.2214 15.809C16.2535 15.809 16.2802 15.7983 16.3016 15.7769C16.323 15.7555 16.3337 15.7288 16.3337 15.6967V13.9436C16.3337 13.9008 16.323 13.8661 16.3016 13.8394C16.2802 13.8128 16.2482 13.7941 16.2055 13.7834L14.4555 13.4276C14.4235 13.4169 14.3954 13.4155 14.3714 13.4236C14.3473 13.4317 14.3219 13.449 14.2951 13.4757L12.8112 14.9757Z'
    />
  </Svg>
);

export default SvgComponent;
