import React from 'react';

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

export const MinusIcon = forwardRef<typeof Icon>(
  function MinusIcon(props, ref) {
    return (
      <Icon ref={ref} {...props}>
        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
          <path fill="currentColor" d="M18 11H2V9h16v2z" />
        </svg>
      </Icon>
    );
  },
);
