react-material-icon-svg
Version:
material icon react SVG version
49 lines (34 loc) • 3.49 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 SquareIncCashIcon = function (_Component) {
_inherits(SquareIncCashIcon, _Component);
function SquareIncCashIcon(props) {
_classCallCheck(this, SquareIncCashIcon);
return _possibleConstructorReturn(this, (SquareIncCashIcon.__proto__ || Object.getPrototypeOf(SquareIncCashIcon)).call(this, props));
}
_createClass(SquareIncCashIcon, [{
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-square-inc-cash-icon ' + this.props.className }),
_react2.default.createElement('path', { d: 'M5.5 0h13A5.5 5.5 0 0 1 24 5.5v13a5.5 5.5 0 0 1-5.5 5.5h-13A5.5 5.5 0 0 1 0 18.5v-13A5.5 5.5 0 0 1 5.5 0zm9.885 15.18c0 1.58-.893 2.625-2.534 2.77v-5.34c1.699.525 2.534 1.049 2.534 2.57zM11.65 6.017v4.865c-1.313-.357-2.62-.95-2.62-2.454 0-1.484 1.149-2.312 2.62-2.41zm3.856 1.58l1.013-.792c-.898-1.146-2.12-1.88-3.67-2.038V3.8h-1.2v.947c-2.125.138-3.97 1.425-3.97 3.76 0 2.493 2.063 3.27 3.97 3.785v5.668c-1.113-.118-2.361-.648-3.215-1.935l-1.133.752c.895 1.346 2.461 2.201 4.349 2.36V20.2h1.201v-1.04c2.496-.186 3.848-1.825 3.848-4.02 0-2.56-1.887-3.377-3.848-3.95V6.046c1.135.171 1.994.717 2.655 1.55z' })
);
}
}]);
return SquareIncCashIcon;
}(_react.Component);
SquareIncCashIcon.defaultProps = {
className: ''
};
exports.default = SquareIncCashIcon;