import React from 'react';

import { forwardRef } from '../../utils/react';
import { Icon } from '../../icon';

export const ChevronLeftIcon = forwardRef<typeof Icon>(
  function ChevronLeftIcon(props, ref) {
    return (
      <Icon ref={ref} {...props}>
        <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20">
          <path
            stroke="currentColor"
            strokeWidth="2"
            d="M13 3.5 6.5 10l6.5 6.5"
          />
        </svg>
      </Icon>
    );
  },
);
