UNPKG

react-icons

Version:

svg react icons of popular icon packs using ES6 imports

39 lines (28 loc) 1.96 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 TiFlag = (function (_React$Component) { _inherits(TiFlag, _React$Component); function TiFlag() { _classCallCheck(this, TiFlag); _React$Component.apply(this, arguments); } TiFlag.prototype.render = function render() { return React.createElement( IconBase, _extends({ viewBox: '0 0 24 24' }, this.props), React.createElement( 'g', null, React.createElement('path', { d: 'M18.383 4.318c-.374-.155-.804-.069-1.09.217-1.264 1.263-3.321 1.264-4.586 0-2.045-2.043-5.37-2.043-7.414 0-.188.187-.293.442-.293.707v13c0 .552.447 1 1 1s1-.448 1-1v-4.553c1.271-.997 3.121-.911 4.293.26 2.045 2.043 5.371 2.043 7.414 0 .188-.188.293-.442.293-.707v-8c0-.405-.244-.769-.617-.924z' }) ) ); }; return TiFlag; })(React.Component); exports['default'] = TiFlag; module.exports = exports['default'];