All files / lib/components/icons/ChevronLeft 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      3x                                      
import React from 'react';
 
function ChevronLeftIcon({ className, onClick }: { className?: string; onClick?: () => void }) {
  return (
    <svg
      width="24"
      height="24"
      viewBox="0 0 24 24"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      className={className}
      onClick={onClick}
    >
      <path
        d="M12.5833 17.3333C12.4167 17.3333 12.25 17.25 12.1667 17.1667L5.41667 10.5C5.33333 10.4167 5.25 10.25 5.25 10.0833C5.25 9.91667 5.33333 9.75 5.41667 9.66667L12.1667 3C12.4167 2.75 12.8333 2.75 13.0833 3C13.3333 3.25 13.3333 3.66667 13.0833 3.91667L6.75 10L13.0833 16.25C13.3333 16.5 13.3333 16.9167 13.0833 17.1667C12.9167 17.25 12.75 17.3333 12.5833 17.3333Z"
        fill="currentColor"
      />
    </svg>
  );
}
 
export default ChevronLeftIcon;