import Svg, { Path } from "react-native-svg";
import React from "react";
import { appColors } from "@src/themes";
import { useValues } from "@src/utils/context/index";

export function Back() {
  const { isDark } = useValues();

  return (
    <Svg width="9" height="16" viewBox="0 0 9 16" fill="none">
      <Path
        d="M7.50003 14.6L2.0667 9.16669C1.42503 8.52502 1.42503 7.47502 2.0667 6.83336L7.50003 1.40002"
        stroke={isDark ? appColors.whiteColor : appColors.blackColor}
        strokeWidth="1.2"
        strokeMiterlimit="10"
        strokeLinecap="round"
        strokeLinejoin="round"
      />
    </Svg>
  );
}
