UNPKG

react-icons

Version:

svg react icons of popular icon packs using ES6 imports

39 lines (28 loc) 1.92 kB
'use strict'; exports.__esModule = 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; }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } 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 React = require('react'); var IconBase = require('../IconBase'); var FaHeart = (function (_React$Component) { _inherits(FaHeart, _React$Component); function FaHeart() { _classCallCheck(this, FaHeart); _React$Component.apply(this, arguments); } FaHeart.prototype.render = function render() { return React.createElement( IconBase, _extends({ viewBox: '0 0 1792 1896.0833' }, this.props), React.createElement( 'g', null, React.createElement('path', { d: 'm896 1664q-26 0-44-18l-624-602q-10-8-27.5-26t-55.5-65.5-68-97.5-53.5-121-23.5-138q0-220 127-344t351-124q62 0 126.5 21.5t120 58 95.5 68.5 76 68q36-36 76-68t95.5-68.5 120-58 126.5-21.5q224 0 351 124t127 344q0 221-229 450l-623 600q-18 18-44 18z' }) ) ); }; return FaHeart; })(React.Component); exports['default'] = FaHeart; module.exports = exports['default'];