All files / lib/components/icons/ArrowLeft index.tsx

100% Statements 1/1
100% Branches 0/0
100% Functions 1/1
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23      2x                                      
import React from 'react';
 
function ArrowLeftIcon({ className, onClick }: { className?: string; onClick?: () => void }) {
  return (
    <svg
      width="18"
      height="18"
      viewBox="0 0 18 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      className={className}
      onClick={onClick}
    >
      <path
        d="M17 8.1998H2.8L9.5 1.4998C9.8 1.1998 9.8 0.699805 9.5 0.399805C9.2 0.0998047 8.7 0.0998047 8.4 0.399805L0.4 8.3998C0.3 8.4998 0.3 8.5998 0.2 8.5998C0.1 8.7998 0.1 8.9998 0.2 9.1998C0.2 9.2998 0.3 9.3998 0.4 9.3998L8.4 17.3998C8.5 17.4998 8.7 17.5998 8.9 17.5998C9.1 17.5998 9.3 17.4998 9.4 17.3998C9.7 17.0998 9.7 16.5998 9.4 16.2998L2.7 9.5998H17C17.4 9.5998 17.8 9.2998 17.8 8.7998C17.8 8.2998 17.4 8.1998 17 8.1998Z"
        fill="black"
      />
    </svg>
  );
}
 
export default ArrowLeftIcon;