import React from 'react';
import { IconTheme } from '../../IconsCommonTypes';

function Add(theme: IconTheme | undefined = undefined) {
  return (
    <svg
      width={theme && theme.width ? theme.width : '44'}
      height={theme && theme.height ? theme.height : '44'}
      viewBox="0 0 44 44"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
    >
      <path
        d="M34.8333 5.5H9.16667C7.13167 5.5 5.5 7.15 5.5 9.16667V34.8333C5.5 36.85 7.13167 38.5 9.16667 38.5H34.8333C36.85 38.5 38.5 36.85 38.5 34.8333V9.16667C38.5 7.15 36.85 5.5 34.8333 5.5ZM34.8333 34.8333H9.16667V9.16667H34.8333V34.8333ZM20.1667 31.1667H23.8333V23.8333H31.1667V20.1667H23.8333V12.8333H20.1667V20.1667H12.8333V23.8333H20.1667V31.1667Z"
        id="Add"
        fill={theme && theme.color ? theme.color : 'var(--color-icon)'}
      />
    </svg>
  );
}

export default Add;
