'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

var _preact = require('preact');

function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }

// import { Preact, h } from 'preact';
var Email = function Email(_ref) {
  var color = _ref.color,
      size = _ref.size,
      otherProps = _objectWithoutProperties(_ref, ['color', 'size']);

  color = color || 'currentColor';
  size = size || '24';
  return (0, _preact.h)(
    'svg',
    _extends({ width: size, height: size, viewBox: '0 0 24 24' }, otherProps),
    (0, _preact.h)(
      'title',
      null,
      'Icon/utility/Indigo/24px/Email'
    ),
    (0, _preact.h)(
      'g',
      { fill: 'currentColor', 'fill-rule': 'evenodd' },
      (0, _preact.h)('path', {
        d: 'M0,64a64,64 0 1,0 128,0a64,64 0 1,0 -128,0',
        'class': 'c-bolt-icon--background c-bolt-icon--circle-background',
        fill: 'none'
      }),
      (0, _preact.h)('path', {
        d: 'M20 19H4c-.55 0-1-.45-1-1V7.919l8.425 5.9c.175.119.375.181.575.181.2 0 .4-.063.575-.181L21 7.919V18c0 .55-.45 1-1 1zM4 5h16c.394 0 .731.225.894.556L12 11.781 3.106 5.556A.99.99 0 0 1 4 5zm19 .981A3.004 3.004 0 0 0 20 3H4a3 3 0 0 0-3 2.981V18c0 1.656 1.344 3 3 3h16c1.656 0 3-1.344 3-3V5.981z',
        fill: 'currentColor'
      })
    )
  );
};
exports.default = Email;