react-icons
Version:
svg react icons of popular icon packs using ES6 imports
39 lines (28 loc) • 1.98 kB
JavaScript
;
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 FaTrain = (function (_React$Component) {
_inherits(FaTrain, _React$Component);
function FaTrain() {
_classCallCheck(this, FaTrain);
_React$Component.apply(this, arguments);
}
FaTrain.prototype.render = function render() {
return React.createElement(
IconBase,
_extends({ viewBox: '0 0 1536 1896.0833' }, this.props),
React.createElement(
'g',
null,
React.createElement('path', { d: 'm1088 0q185 0 316.5 93.5t131.5 226.5v896q0 130-125.5 222t-305.5 97l213 202q16 15 8 35t-30 20h-1056q-22 0-30-20t8-35l213-202q-180-5-305.5-97t-125.5-222v-896q0-133 131.5-226.5t316.5-93.5h640z m-320 1344q80 0 136-56t56-136-56-136-136-56-136 56-56 136 56 136 136 56z m576-576v-512h-1152v512h1152z' })
)
);
};
return FaTrain;
})(React.Component);
exports['default'] = FaTrain;
module.exports = exports['default'];