UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.18 kB
'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 _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 CreditCardOffIcon = function (_Component) { _inherits(CreditCardOffIcon, _Component); function CreditCardOffIcon(props) { _classCallCheck(this, CreditCardOffIcon); return _possibleConstructorReturn(this, (CreditCardOffIcon.__proto__ || Object.getPrototypeOf(CreditCardOffIcon)).call(this, props)); } _createClass(CreditCardOffIcon, [{ 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-credit-card-off-icon ' + this.props.className }), _react2.default.createElement('path', { d: 'M.933 4.202L2.21 2.933 20 20.723 18.732 22l-2.002-2.002H4c-1.106 0-2-.894-2-2l.01-12c0-.217.034-.427.097-.623L.933 4.202zM20 7.998v-2H7.821l-2-2h14.178c1.105 0 2 .894 2 2v12c0 .598-.262 1.135-.677 1.501l-1.501-1.501h.178v-6h-6.178l-4-4h10.178zm-16 0h.73L4 7.268v.73zm0 4v6h10.73l-6-6H4z' }) ); } }]); return CreditCardOffIcon; }(_react.Component); CreditCardOffIcon.defaultProps = { className: '' }; exports.default = CreditCardOffIcon;