UNPKG

react-icons

Version:

svg react icons of popular icon packs using ES6 imports

47 lines (34 loc) 5.51 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 FaTrash = function (_React$Component) { _inherits(FaTrash, _React$Component); function FaTrash() { _classCallCheck(this, FaTrash); return _possibleConstructorReturn(this, Object.getPrototypeOf(FaTrash).apply(this, arguments)); } _createClass(FaTrash, [{ 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: 'm15.714285714285715 30.714285714285715v-15.714285714285715q0-0.31428571428571495-0.1999999999999993-0.5142857142857142t-0.514285714285716-0.1999999999999993h-1.4285714285714288q-0.31428571428571495 0-0.5142857142857142 0.1999999999999993t-0.1999999999999993 0.5142857142857142v15.714285714285715q0 0.31428571428571317 0.1999999999999993 0.5142857142857125t0.5142857142857142 0.1999999999999993h1.4285714285714288q0.31428571428571495 0 0.5142857142857142-0.1999999999999993t0.20000000000000107-0.5142857142857125z m5.714285714285715 0v-15.714285714285715q0-0.31428571428571495-0.1999999999999993-0.5142857142857142t-0.514285714285716-0.1999999999999993h-1.428571428571427q-0.31428571428571317 0-0.514285714285716 0.1999999999999993t-0.1999999999999993 0.5142857142857142v15.714285714285715q0 0.31428571428571317 0.1999999999999993 0.5142857142857125t0.5142857142857125 0.1999999999999993h1.428571428571427q0.31428571428571317 0 0.514285714285716-0.1999999999999993t0.1999999999999993-0.5142857142857125z m5.714285714285715 0v-15.714285714285715q0-0.31428571428571495-0.1999999999999993-0.5142857142857142t-0.514285714285716-0.1999999999999993h-1.428571428571427q-0.31428571428571317 0-0.514285714285716 0.1999999999999993t-0.1999999999999993 0.5142857142857142v15.714285714285715q0 0.31428571428571317 0.1999999999999993 0.5142857142857125t0.5142857142857125 0.1999999999999993h1.428571428571427q0.31428571428571317 0 0.514285714285716-0.1999999999999993t0.1999999999999993-0.5142857142857125z m-12.142857142857146-22.142857142857146h10l-1.071428571428573-2.6114285714285703q-0.15714285714285836-0.20000000000000018-0.379999999999999-0.24571428571428555h-7.0771428571428565q-0.22142857142857153 0.042857142857142705-0.3785714285714299 0.24571428571428555z m20.714285714285715 0.7142857142857153v1.4285714285714288q0 0.31428571428571495-0.20000000000000284 0.5142857142857142t-0.5142857142857125 0.20000000000000107h-2.142857142857139v21.159999999999997q0 1.8528571428571396-1.048571428571428 3.202857142857141t-2.5228571428571485 1.3514285714285776h-18.571428571428573q-1.4714285714285715 0-2.522857142857143-1.307142857142857t-1.0485714285714254-3.1571428571428584v-21.252857142857145h-2.1428571428571432q-0.31428571428571406 1.7763568394002505e-15-0.5142857142857142-0.20285714285714107t-0.20000000000000018-0.5114285714285725v-1.4285714285714288q0-0.3114285714285714 0.20000000000000018-0.5114285714285707t0.5142857142857142-0.20000000000000107h6.897142857142857l1.5628571428571423-3.7285714285714286q0.3342857142857145-0.8257142857142856 1.2057142857142864-1.4057142857142857t1.7628571428571451-0.5799999999999996h7.142857142857142q0.8928571428571423 0 1.7628571428571433 0.5800000000000001t1.2057142857142864 1.4057142857142861l1.5628571428571405 3.7285714285714278h6.897142857142857q0.3142857142857167 0 0.5142857142857125 0.1999999999999993t0.20000000000000284 0.5142857142857142z' }) ) ); } }]); return FaTrash; }(React.Component); exports.default = FaTrash;