import React from 'react';

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

export const ChevronDownIcon = forwardRef<typeof Icon>(
  function ChevronDownIcon(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="m3.5 7 6.5 6.5L16.5 7"
          />
        </svg>
      </Icon>
    );
  },
);
