UNPKG

react-icons

Version:

svg react icons of popular icon packs using ES6 imports

47 lines (34 loc) 4.8 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 TiAttachment = function (_React$Component) { _inherits(TiAttachment, _React$Component); function TiAttachment() { _classCallCheck(this, TiAttachment); return _possibleConstructorReturn(this, Object.getPrototypeOf(TiAttachment).apply(this, arguments)); } _createClass(TiAttachment, [{ 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: 'm30.60666666666667 11.058333333333334c-2.6000000000000014-2.5999999999999996-6.833333333333332-2.5999999999999996-9.43 0l-7.556666666666668 7.558333333333334c-0.788333333333334 0.788333333333334-1.2216666666666676 1.8333333333333321-1.2216666666666676 2.9499999999999993 0 1.1133333333333333 0.43333333333333357 2.158333333333335 1.2166666666666668 2.9466666666666654 0.8133333333333326 0.8099999999999987 1.8833333333333329 1.216666666666665 2.950000000000001 1.216666666666665s2.133333333333333-0.40333333333333243 2.9450000000000003-1.2166666666666686l3.5366666666666653-3.533333333333335c0.6499999999999986-0.6600000000000001 0.9750000000000014-1.5083333333333329 0.9750000000000014-2.3583333333333343 0-0.8533333333333317-0.3249999999999993-1.7049999999999983-0.9766666666666666-2.3566666666666656l-5.895 5.890000000000001c-0.32166666666666544 0.3249999999999993-0.8500000000000014 0.3249999999999993-1.1799999999999997-0.0033333333333338544-0.211666666666666-0.211666666666666-0.24333333333333407-0.45833333333333215-0.24333333333333407-0.586666666666666s0.02999999999999936-0.37833333333333385 0.24166666666666714-0.5899999999999999l7.564999999999996-7.5583333333333265c1.2966666666666669-1.3000000000000007 3.413333333333334-1.3000000000000007 4.716666666666669 0 1.3000000000000007 1.2966666666666669 1.3000000000000007 3.413333333333334 0 4.711666666666666l-11.786666666666665 11.788333333333334c-1.3000000000000007 1.2966666666666669-3.416666666666666 1.2966666666666669-4.713333333333333 0-1.3000000000000007-1.3000000000000007-1.3000000000000007-3.416666666666668 0-4.716666666666665l0.15833333333333321-0.158333333333335c-0.75-1-1.17-2.2666666666666657-1.17-3.541666666666668l-1.3450000000000006 1.3449999999999989c-2.5999999999999996 2.6000000000000014-2.5999999999999996 6.829999999999998 0 9.426666666666662 1.3000000000000007 1.2999999999999972 3.0066666666666677 1.9500000000000028 4.713333333333333 1.9500000000000028s3.416666666666666-0.6499999999999986 4.713333333333333-1.9500000000000028l11.786666666666669-11.786666666666669c2.6000000000000014-2.5966666666666676 2.6000000000000014-6.824999999999999 0-9.425z' }) ) ); } }]); return TiAttachment; }(React.Component); exports.default = TiAttachment;