react-icons
Version:
svg react icons of popular icon packs using ES6 imports
47 lines (34 loc) • 6.86 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; }; }();
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 React = require('react');
var IconBase = require('react-icon-base');
var FaBook = function (_React$Component) {
_inherits(FaBook, _React$Component);
function FaBook() {
_classCallCheck(this, FaBook);
return _possibleConstructorReturn(this, Object.getPrototypeOf(FaBook).apply(this, arguments));
}
_createClass(FaBook, [{
key: 'render',
value: function render() {
return React.createElement(
IconBase,
_extends({ viewBox: '0 0 40 40' }, this.props),
React.createElement(
'g',
null,
React.createElement('path', { d: 'm38.01428571428571 10.67142857142857q0.8914285714285697 1.2714285714285722 0.3999999999999986 2.87857142857143l-6.138571428571424 20.22142857142857q-0.4242857142857126 1.4285714285714306-1.7071428571428555 2.3999999999999986t-2.734285714285715 0.971428571428568h-20.602857142857143q-1.7185714285714297 0-3.314285714285715-1.192857142857143t-2.2214285714285724-2.9357142857142833q-0.5357142857142856-1.4957142857142856-0.04285714285714293-2.8342857142857127 0-0.08999999999999986 0.06571428571428561-0.6028571428571432t0.09000000000000008-0.8257142857142874q0.02285714285714291-0.17999999999999616-0.06571428571428561-0.4799999999999969t-0.0685714285714285-0.43571428571428683q0.04285714285714293-0.24571428571428555 0.1785714285714286-0.46857142857142975t0.36857142857142855-0.524285714285714 0.36857142857142877-0.524285714285714q0.5142857142857142-0.8485714285714288 1.004285714285714-2.042857142857141t0.6714285714285717-2.0428571428571445q0.06571428571428584-0.2228571428571442 0.009999999999999787-0.6714285714285708t-0.011428571428571566-0.6242857142857154q0.06714285714285673-0.24571428571428555 0.3799999999999999-0.6257142857142846t0.38142857142857167-0.5142857142857125q0.46857142857142886-0.8000000000000007 0.9371428571428568-2.0514285714285734t0.5571428571428569-2.008571428571429q0.024285714285714022-0.1999999999999993-0.05428571428571427-0.7142857142857135t0.011428571428571566-0.6257142857142863q0.08999999999999986-0.28999999999999915 0.4914285714285711-0.6814285714285706t0.4914285714285711-0.5q0.42571428571428527-0.581428571428571 0.9499999999999993-1.8857142857142861t0.6142857142857139-2.1571428571428566q0.02285714285714313-0.17714285714285793-0.06714285714285673-0.5671428571428567t-0.042857142857142705-0.5914285714285707q0.042857142857142705-0.17999999999999972 0.1999999999999993-0.402857142857143t0.40000000000000036-0.5142857142857142 0.38142857142857167-0.4671428571428571q0.17857142857142883-0.265714285714286 0.36857142857142833-0.6799999999999997t0.3342857142857145-0.7814285714285711 0.35714285714285765-0.8028571428571425 0.43571428571428505-0.7142857142857144 0.5914285714285707-0.524285714285714 0.8028571428571425-0.2571428571428571 1.0600000000000005 0.12285714285714278l-0.02285714285714313 0.06714285714285717q0.8457142857142887-0.2028571428571455 1.1342857142857188-0.2028571428571455h16.98857142857143q1.6514285714285677 0 2.5428571428571445 1.2500000000000004t0.4028571428571439 2.9000000000000004l-6.114285714285714 20.224285714285713q-0.8042857142857152 2.6571428571428584-1.597142857142856 3.4257142857142853t-2.8685714285714283 0.7714285714285722h-19.397142857142864q-0.6028571428571432 0-0.8485714285714288 0.33285714285714363-0.24571428571428555 0.3571428571428541-0.02285714285714313 0.9600000000000009 0.5357142857142865 1.5642857142857096 3.2142857142857144 1.5642857142857096h20.602857142857143q0.6471428571428568 0 1.25-0.3471428571428561t0.7814285714285703-0.9257142857142853l6.6971428571428575-22.032857142857143q0.15714285714285836-0.4914285714285711 0.11142857142856855-1.2714285714285722 0.8485714285714252 0.33285714285714363 1.317142857142855 0.9571428571428573z m-23.75285714285714 0.04285714285714448q-0.09000000000000163 0.28999999999999915 0.04285714285714093 0.5028571428571436t0.45285714285714285 0.21142857142856997h13.571428571428571q0.28999999999999915 0 0.5685714285714276-0.21142857142857174t0.36857142857142833-0.5028571428571436l0.46857142857142975-1.4285714285714288q0.08999999999999986-0.28999999999999915-0.04285714285714448-0.5028571428571436t-0.4528571428571446-0.21142857142856997h-13.571428571428571q-0.2900000000000009 0-0.5685714285714294 0.21142857142857174t-0.36857142857142833 0.5028571428571436z m-1.851428571428574 5.714285714285715q-0.08999999999999986 0.28999999999999915 0.042857142857142705 0.5028571428571418t0.4485714285714284 0.21142857142856997h13.571428571428573q0.28999999999999915 0 0.5685714285714276-0.21142857142856997t0.36857142857142833-0.5028571428571418l0.46857142857142975-1.4285714285714288q0.08999999999999986-0.2900000000000009-0.04285714285714448-0.5028571428571436t-0.44999999999999574-0.21142857142857174h-13.571428571428571q-0.2900000000000009 0-0.5685714285714294 0.21142857142857174t-0.36857142857142833 0.5028571428571436z' })
)
);
}
}]);
return FaBook;
}(React.Component);
exports.default = FaBook;