import React from 'react';

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

export const DraftIcon = forwardRef<typeof Icon>(
  function DraftIcon(props, ref) {
    return (
      <Icon ref={ref} {...props}>
        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
          <path
            fill="currentColor"
            fillRule="evenodd"
            d="M16 2H2v15h14V2Zm1 1V1H1v17h2v2h16V3h-2ZM4 5h10v1H4V5Zm10 4H4v1h10V9ZM4 13h10v1H4v-1Z"
            clipRule="evenodd"
          />
        </svg>
      </Icon>
    );
  },
);
