react-material-icon-svg
Version:
material icon react SVG version
49 lines (34 loc) • 3.38 kB
JavaScript
;
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 _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var LockResetIcon = function (_Component) {
_inherits(LockResetIcon, _Component);
function LockResetIcon(props) {
_classCallCheck(this, LockResetIcon);
return _possibleConstructorReturn(this, (LockResetIcon.__proto__ || Object.getPrototypeOf(LockResetIcon)).call(this, props));
}
_createClass(LockResetIcon, [{
key: 'render',
value: function render() {
return _react2.default.createElement(
'svg',
_extends({ xmlns: 'http://www.w3.org/2000/svg', width: '24', height: '24', baseProfile: 'full', viewBox: '0 0 24.00 24.00' }, this.props, { className: 'material material-lock-reset-icon ' + this.props.className }),
_react2.default.createElement('path', { d: 'M12.634 2c5.527 0 10.005 4.477 10.005 10S18.16 22 12.634 22c-3.516 0-6.588-1.823-8.37-4.565l1.575-1.253C7.247 18.466 9.757 20 12.639 20a8 8 0 0 0 8-8 8 8 0 0 0-8-8c-4.08 0-7.438 3.055-7.93 7h2.759l-3.735 3.733L0 11h2.69c.5-5.053 4.755-9 9.944-9zm2.954 8.24a.921.921 0 0 1 .912.92v4.606a.921.921 0 0 1-.921.922H10.05a.921.921 0 0 1-.921-.922v-4.607a.92.92 0 0 1 .911-.919V9.23a2.777 2.777 0 0 1 2.774-2.774 2.777 2.777 0 0 1 2.774 2.774v1.01zm-2.774-2.384c-.758 0-1.374.616-1.374 1.374v1.009h2.748V9.23c0-.758-.617-1.374-1.374-1.374z' })
);
}
}]);
return LockResetIcon;
}(_react.Component);
LockResetIcon.defaultProps = {
className: ''
};
exports.default = LockResetIcon;