"use strict";

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

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 _react = require("react");

var _react2 = _interopRequireDefault(_react);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

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; }

var PasswordIcon = function PasswordIcon(_ref) {
  var color = _ref.color,
      title = _ref.title,
      props = _objectWithoutProperties(_ref, ["color", "title"]);

  return _react2.default.createElement(
    "svg",
    _extends({
      xmlns: "http://www.w3.org/2000/svg",
      viewBox: "0 0 18 12",
      fill: color,
      width: "18"
    }, props),
    _react2.default.createElement(
      "title",
      null,
      title
    ),
    _react2.default.createElement("path", {
      d: "M9 0C4 0 0 4 0 6s4 6 9 6 9-4 9-6-4-6-9-6zm0 10c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z"
    }),
    _react2.default.createElement("circle", { cx: "9", cy: "6", r: "2" })
  );
};

exports.PasswordIcon = PasswordIcon;
PasswordIcon.defaultProps = {
  color: '#222'
};