UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.45 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 PinterestIcon = function (_Component) { _inherits(PinterestIcon, _Component); function PinterestIcon(props) { _classCallCheck(this, PinterestIcon); return _possibleConstructorReturn(this, (PinterestIcon.__proto__ || Object.getPrototypeOf(PinterestIcon)).call(this, props)); } _createClass(PinterestIcon, [{ 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-icon ' + this.props.className }), _react2.default.createElement('path', { d: 'M13.25 17.248a3.647 3.647 0 0 1-2.646-1.15l-1.19 4-.085.259-.04-.014c-.245.405-.68.655-1.165.655a1.377 1.377 0 0 1-1.375-1.376c0-.064.008-.124.018-.181l-.021-.009.067-.223 2.311-6.952s-.25-.766-.25-1.841c0-2.149 1.153-2.793 2.08-2.793.928 0 1.772.332 1.772 1.64 0 1.68-1.112 2.54-1.112 3.754a1.68 1.68 0 0 0 1.68 1.678c2.917 0 3.955-2.2 3.955-4.26 0-2.722-2.355-4.937-5.25-4.937s-5.25 2.215-5.25 4.938c.002.842.235 1.68.678 2.418a1.25 1.25 0 0 1-1.073 1.894c-.445 0-.86-.237-1.083-.618a7.221 7.221 0 0 1-1.022-3.694c0-4.101 3.477-7.438 7.75-7.438 4.274 0 7.75 3.337 7.75 7.438 0 3.281-2.035 6.812-6.5 6.812z' }) ); } }]); return PinterestIcon; }(_react.Component); PinterestIcon.defaultProps = { className: '' }; exports.default = PinterestIcon;