All files / src/components/ui/icons ChevronLeftIcon.tsx

30.55% Statements 11/36
100% Branches 0/0
0% Functions 0/1
30.55% Lines 11/36

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 24 25 26 27 28 29 30 31 32 33 34 35 36 371x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x                                                    
/**
 * ChevronLeftIcon - Left-pointing chevron/arrow icon
 * Commonly used for navigation (previous, back), carousels, and pagination
 *
 * @example
 * ```tsx
 * <ChevronLeftIcon /> // Default 24x24
 * <ChevronLeftIcon width={20} height={20} />
 * <ChevronLeftIcon className="text-blue-500" />
 * ```
 */
export default function ChevronLeftIcon({
  width = 24,
  height = 24,
  className = 'fill-current',
  ...props
}: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      {...props}
      className={className}
      width={width}
      height={height}
      viewBox="0 0 24 24"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
    >
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M15.4881 4.43057C15.8026 4.70014 15.839 5.17361 15.5694 5.48811L9.98781 12L15.5694 18.5119C15.839 18.8264 15.8026 19.2999 15.4881 19.5695C15.1736 19.839 14.7001 19.8026 14.4306 19.4881L8.43056 12.4881C8.18981 12.2072 8.18981 11.7928 8.43056 11.5119L14.4306 4.51192C14.7001 4.19743 15.1736 4.161 15.4881 4.43057Z"
        fill="currentColor"
      />
    </svg>
  );
}