import React from 'react';

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

export const ChevronRightIcon = forwardRef<typeof Icon>(
  function ChevronRightIcon(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="M6.5 16.5 13 10 6.5 3.5"
          />
        </svg>
      </Icon>
    );
  },
);
