'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 '@bolt/core';
var Energy = function Energy(_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: '32', height: '32', viewBox: '0 0 32 32' }, otherProps),
    (0, _preact.h)(
      'title',
      null,
      'Icon/Industry/Energy'
    ),
    (0, _preact.h)('path', {
      d: 'M6.782 15h5.94a1.027 1.027 0 0 1 1.017 1.165l-1.676 12.309L25.27 17.053h-5.94a1.027 1.027 0 0 1-1.017-1.165L19.99 3.58 6.782 15zm3.898 17.053a1.026 1.026 0 0 1-1.016-1.165l1.883-13.835h-7.52a1.027 1.027 0 0 1-.672-1.803l17.347-15a1.027 1.027 0 0 1 1.687.915L20.506 15h7.52a1.027 1.027 0 0 1 .671 1.803l-17.346 15c-.19.165-.429.25-.67.25z',
      fill: 'currentColor',
      'fill-rule': 'evenodd'
    })
  );
};
exports.default = Energy;