UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.29 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 HeartOutlineIcon = function (_Component) { _inherits(HeartOutlineIcon, _Component); function HeartOutlineIcon(props) { _classCallCheck(this, HeartOutlineIcon); return _possibleConstructorReturn(this, (HeartOutlineIcon.__proto__ || Object.getPrototypeOf(HeartOutlineIcon)).call(this, props)); } _createClass(HeartOutlineIcon, [{ 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-heart-outline-icon ' + this.props.className }), _react2.default.createElement('path', { d: 'M12.104 18.552l-.105.095-.105-.095C7.14 14.237 4 11.387 4 8.498c0-1.995 1.505-3.5 3.5-3.5 1.538 0 3.04.992 3.567 2.361h1.866C13.46 5.99 14.962 5 16.5 5c1.995 0 3.5 1.504 3.5 3.5 0 2.888-3.14 5.738-7.895 10.053zM16.5 2.998A5.988 5.988 0 0 0 12 5.084a5.988 5.988 0 0 0-4.5-2.086c-3.084 0-5.5 2.416-5.5 5.5 0 3.775 3.402 6.862 8.551 11.535L12 21.35l1.448-1.316C18.598 15.36 22 12.273 22 8.498c0-3.084-2.416-5.5-5.5-5.5z' }) ); } }]); return HeartOutlineIcon; }(_react.Component); HeartOutlineIcon.defaultProps = { className: '' }; exports.default = HeartOutlineIcon;