import React from 'react';

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

export const ChevronUpIcon = forwardRef<typeof Icon>(
  function ChevronUpIcon(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="M16.5 13.5 10 7l-6.5 6.5"
          />
        </svg>
      </Icon>
    );
  },
);
