import React from 'react';

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

export const PlusIcon = forwardRef<typeof Icon>(function PlusIcon(props, ref) {
  return (
    <Icon ref={ref} {...props}>
      <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
        <path fill="currentColor" d="M9 11v7h2v-7h7V9h-7V2H9v7H2v2h7z" />
      </svg>
    </Icon>
  );
});
