UNPKG

react-icons

Version:

svg react icons of popular icon packs using ES6 imports

39 lines (28 loc) 1.94 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 TiCancel = (function (_React$Component) { _inherits(TiCancel, _React$Component); function TiCancel() { _classCallCheck(this, TiCancel); _React$Component.apply(this, arguments); } TiCancel.prototype.render = function render() { return React.createElement( IconBase, _extends({ viewBox: '0 0 24 24' }, this.props), React.createElement( 'g', null, React.createElement('path', { d: 'M12 4c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8zm-5 8c0-.832.224-1.604.584-2.295l6.711 6.711c-.691.36-1.463.584-2.295.584-2.757 0-5-2.243-5-5zm9.416 2.295l-6.711-6.711c.691-.36 1.463-.584 2.295-.584 2.757 0 5 2.243 5 5 0 .832-.224 1.604-.584 2.295z' }) ) ); }; return TiCancel; })(React.Component); exports['default'] = TiCancel; module.exports = exports['default'];