UNPKG

react-icons

Version:

svg react icons of popular icon packs using ES6 imports

47 lines (34 loc) 8.18 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; }; }(); 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 FaYoutube = function (_React$Component) { _inherits(FaYoutube, _React$Component); function FaYoutube() { _classCallCheck(this, FaYoutube); return _possibleConstructorReturn(this, Object.getPrototypeOf(FaYoutube).apply(this, arguments)); } _createClass(FaYoutube, [{ 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: 'm24.531428571428574 27.767142857142858v4.710000000000001q0 1.4957142857142856-0.8714285714285701 1.4957142857142856-0.5114285714285707 0-1.0028571428571418-0.490000000000002v-6.71857142857143q0.4914285714285711-0.4914285714285711 1.0042857142857144-0.4914285714285711 0.8714285714285701 0 0.8714285714285701 1.4957142857142856z m7.542857142857141 0.022857142857141355v1.0285714285714285h-2.0071428571428562v-1.0285714285714285q0-1.5171428571428578 1.0042857142857144-1.5171428571428578t1.004285714285711 1.518571428571427z m-21.560000000000002-4.865714285714283h2.385714285714288v-2.1000000000000014h-6.961428571428572v2.1000000000000014h2.3428571428571434v12.700000000000003h2.232857142857142v-12.700000000000003z m6.428571428571431 12.700000000000003h1.985714285714284v-11.024285714285721h-1.985714285714284v8.435714285714287q-0.6714285714285708 0.9371428571428595-1.274285714285714 0.9371428571428595-0.40000000000000036 0-0.468571428571428-0.46714285714286063-0.02285714285714313-0.06714285714285495-0.02285714285714313-0.7814285714285703v-8.125714285714288h-1.9857142857142858v8.728571428571428q0 1.0928571428571416 0.17714285714285793 1.6285714285714263 0.2671428571428578 0.8257142857142838 1.2942857142857136 0.8257142857142838 1.0714285714285712 0 2.2771428571428576-1.3614285714285685v1.2057142857142864z m9.574285714285715-3.3028571428571425v-4.397142857142857q0-1.62857142857143-0.1999999999999993-2.210000000000001-0.38142857142857167-1.25-1.5857142857142854-1.25-1.1142857142857139 0-2.0757142857142874 1.2057142857142864v-4.845714285714287h-1.9885714285714293v14.8h1.985714285714284v-1.0714285714285694q1.0057142857142871 1.2257142857142824 2.0771428571428565 1.2257142857142824 1.2057142857142864 0 1.5857142857142854-1.2285714285714278 0.1999999999999993-0.6000000000000014 0.1999999999999993-2.231428571428573z m7.545714285714283-0.2228571428571442v-0.2914285714285718h-2.0314285714285703q0 1.138571428571428-0.04285714285714448 1.361428571428572-0.15714285714285836 0.7999999999999972-0.894285714285715 0.7999999999999972-1.0285714285714285 0-1.0285714285714285-1.53857142857143v-1.942857142857143h3.997142857142858v-2.297142857142859q0-1.7628571428571433-0.6028571428571396-2.59-0.8714285714285737-1.138571428571428-2.3657142857142865-1.138571428571428-1.5171428571428578 0-2.388571428571428 1.138571428571428-0.6257142857142846 0.8257142857142874-0.6257142857142846 2.59v3.8614285714285685q0 1.7628571428571433 0.6471428571428568 2.5899999999999963 0.8685714285714283 1.1400000000000006 2.4085714285714275 1.1400000000000006 1.607142857142854 0 2.4099999999999966-1.182857142857145 0.3999999999999986-0.6028571428571396 0.46857142857142975-1.2057142857142864 0.04571428571428271-0.20000000000000284 0.04571428571428271-1.2942857142857136z m-13.57142857142857-20.38142857142857v-4.685714285714286q0-1.5428571428571427-0.9600000000000009-1.5428571428571427t-0.9599999999999973 1.5457142857142827v4.685714285714286q0 1.5628571428571423 0.9600000000000009 1.5628571428571423t0.9600000000000009-1.5628571428571423z m16.048571428571428 16.764285714285712q0 5.222857142857144-0.5799999999999983 7.814285714285717-0.3142857142857167 1.3142857142857167-1.2942857142857136 2.2085714285714317t-2.277142857142856 1.028571428571432q-4.107142857142858 0.4671428571428464-12.388571428571431 0.4671428571428464t-12.38857142857143-0.46714285714286063q-1.2942857142857145-0.134285714285717-2.2885714285714283-1.028571428571425t-1.282857142857143-2.2085714285714317q-0.5800000000000001-2.5-0.5800000000000001-7.814285714285713 0-5.2214285714285715 0.5800000000000001-7.811428571428571 0.31428571428571406-1.3185714285714276 1.2942857142857145-2.2114285714285735t2.3-1.048571428571428q4.082857142857144-0.4471428571428575 12.364285714285714-0.4471428571428575t12.385714285714283 0.4471428571428575q1.2957142857142827 0.15714285714285836 2.289999999999999 1.048571428571428t1.2828571428571465 2.210000000000001q0.5814285714285745 2.5 0.5814285714285745 7.811428571428571z m-22.277142857142856-28.481428571428573h2.277142857142856l-2.6999999999999993 8.905714285714286v6.048571428571428h-2.235714285714284v-6.048571428571428q-0.31428571428571495-1.6514285714285712-1.361428571428572-4.732857142857143-0.8228571428571438-2.297142857142857-1.4485714285714302-4.172857142857143h2.362857142857143l1.5857142857142854 5.868571428571428z m8.259999999999998 7.432857142857143v3.9057142857142857q0 1.8085714285714278-0.6257142857142846 2.6342857142857152-0.8257142857142874 1.1400000000000006-2.3657142857142865 1.1400000000000006-1.4957142857142856 0-2.3428571428571416-1.138571428571428-0.6285714285714299-0.8471428571428579-0.6285714285714299-2.6328571428571426v-3.908571428571431q0-1.7857142857142856 0.6285714285714299-2.611428571428572 0.8471428571428561-1.1385714285714288 2.3428571428571416-1.1385714285714288 1.5399999999999991 0 2.3657142857142865 1.1385714285714288 0.6257142857142846 0.8257142857142856 0.6257142857142846 2.611428571428572z m7.477142857142859-3.6142857142857148v11.137142857142859h-2.0314285714285703v-1.2285714285714278q-1.1828571428571415 1.3857142857142861-2.3000000000000007 1.3857142857142861-1.0257142857142867 0-1.3142857142857132-0.8285714285714292-0.17999999999999972-0.5342857142857138-0.17999999999999972-1.6714285714285708v-8.795714285714286h2.0314285714285703v8.19142857142857q0 0.7371428571428567 0.022857142857141355 0.781428571428572 0.0671428571428585 0.4914285714285711 0.46857142857142975 0.4914285714285711 0.6028571428571432 0 1.2714285714285722-0.9600000000000009v-8.502857142857142h2.032857142857143z' }) ) ); } }]); return FaYoutube; }(React.Component); exports.default = FaYoutube;