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 EyeOutlineOffIcon = function (_Component) {
_inherits(EyeOutlineOffIcon, _Component);
function EyeOutlineOffIcon(props) {
_classCallCheck(this, EyeOutlineOffIcon);
return _possibleConstructorReturn(this, (EyeOutlineOffIcon.__proto__ || Object.getPrototypeOf(EyeOutlineOffIcon)).call(this, props));
}
_createClass(EyeOutlineOffIcon, [{
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-eye-outline-off-icon ' + this.props.className }),
_react2.default.createElement('path', { d: 'M2 5.268L3.277 4 20 20.723 18.732 22l-3.077-3.077c-1.15.375-2.379.577-3.655.577-5.002 0-9.272-3.111-11-7.5a11.872 11.872 0 0 1 3.187-4.544L2 5.268zM12 9a3 3 0 0 1 2.828 4.005l-3.833-3.833A2.996 2.996 0 0 1 12 9zm0-4.5c5.003 0 9.272 3.111 11 7.5a11.88 11.88 0 0 1-3.986 5.191l-1.433-1.432A9.812 9.812 0 0 0 20.817 12 9.817 9.817 0 0 0 8.843 7.02L7.297 5.475A11.76 11.76 0 0 1 12 4.5zM3.183 12a9.815 9.815 0 0 0 10.838 5.29l-2.303-2.303a3 3 0 0 1-2.705-2.705L5.603 8.87A9.806 9.806 0 0 0 3.182 12z' })
);
}
}]);
return EyeOutlineOffIcon;
}(_react.Component);
EyeOutlineOffIcon.defaultProps = {
className: ''
};
exports.default = EyeOutlineOffIcon;