react-icons
Version:
svg react icons of popular icon packs using ES6 imports
39 lines (28 loc) • 2.03 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 TiSocialInstagram = (function (_React$Component) {
_inherits(TiSocialInstagram, _React$Component);
function TiSocialInstagram() {
_classCallCheck(this, TiSocialInstagram);
_React$Component.apply(this, arguments);
}
TiSocialInstagram.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 3h-12c-1.7 0-3 1.3-3 3v12c0 1.7 1.3 3 3 3h12c1.7 0 3-1.3 3-3v-12c0-1.7-1.3-3-3-3zm-6 6c1.7 0 3 1.3 3 3s-1.3 3-3 3-3-1.3-3-3 1.3-3 3-3zm3.8-2c0-.7.6-1.2 1.2-1.2s1.2.6 1.2 1.2-.5 1.2-1.2 1.2-1.2-.5-1.2-1.2zm2.2 12h-12c-.6 0-1-.4-1-1v-6h2c0 2.8 2.2 5 5 5s5-2.2 5-5h2v6c0 .6-.4 1-1 1z' })
)
);
};
return TiSocialInstagram;
})(React.Component);
exports['default'] = TiSocialInstagram;
module.exports = exports['default'];