UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.54 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 PinterestBoxIcon = function (_Component) { _inherits(PinterestBoxIcon, _Component); function PinterestBoxIcon(props) { _classCallCheck(this, PinterestBoxIcon); return _possibleConstructorReturn(this, (PinterestBoxIcon.__proto__ || Object.getPrototypeOf(PinterestBoxIcon)).call(this, props)); } _createClass(PinterestBoxIcon, [{ 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-pinterest-box-icon ' + this.props.className }), _react2.default.createElement('path', { d: 'M13 16.198a2.918 2.918 0 0 1-2.117-.92l-.952 3.2-.068.207-.032-.01a1.083 1.083 0 0 1-.932.523c-.606 0-1.1-.493-1.1-1.1 0-.052.006-.1.014-.146l-.017-.007.054-.178 1.85-5.562s-.2-.613-.2-1.473c0-1.719.921-2.234 1.663-2.234s1.417.265 1.417 1.312c0 1.344-.889 2.032-.889 3.003 0 .74.603 1.342 1.344 1.342 2.333 0 3.164-1.76 3.164-3.407 0-2.178-1.884-3.95-4.2-3.95-2.316 0-4.2 1.772-4.2 3.95.001.674.188 1.344.542 1.935a1 1 0 0 1-.858 1.515c-.356 0-.689-.19-.867-.495a5.777 5.777 0 0 1-.817-2.955c0-3.28 2.781-5.95 6.2-5.95 3.42 0 6.2 2.67 6.2 5.95 0 2.625-1.628 5.45-5.2 5.45zm7-14.2H4a1.99 1.99 0 0 0-1.99 2l-.01 16a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-16a2 2 0 0 0-2-2z' }) ); } }]); return PinterestBoxIcon; }(_react.Component); PinterestBoxIcon.defaultProps = { className: '' }; exports.default = PinterestBoxIcon;