UNPKG

react-icons

Version:

svg react icons of popular icon packs using ES6 imports

45 lines (34 loc) 2.43 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 TiBusinessCard = (function (_React$Component) { _inherits(TiBusinessCard, _React$Component); function TiBusinessCard() { _classCallCheck(this, TiBusinessCard); _React$Component.apply(this, arguments); } TiBusinessCard.prototype.render = function render() { return React.createElement( IconBase, _extends({ viewBox: '0 0 24 24' }, this.props), React.createElement( 'g', null, React.createElement( 'g', null, React.createElement('path', { d: 'M20 20h-16c-1.654 0-3-1.346-3-3v-10c0-1.654 1.346-3 3-3h16c1.654 0 3 1.346 3 3v10c0 1.654-1.346 3-3 3zm-16-14c-.551 0-1 .449-1 1v10c0 .551.449 1 1 1h16c.551 0 1-.449 1-1v-10c0-.551-.449-1-1-1h-16zM10 15h-4c-.553 0-1-.448-1-1s.447-1 1-1h4c.553 0 1 .448 1 1s-.447 1-1 1zM10 11h-4c-.553 0-1-.448-1-1s.447-1 1-1h4c.553 0 1 .448 1 1s-.447 1-1 1z' }), React.createElement('circle', { cx: '16', cy: '10.5', r: '2' }), React.createElement('path', { d: 'M16 13.356c-1.562 0-2.5.715-2.5 1.429 0 .357.938.715 2.5.715 1.466 0 2.5-.357 2.5-.715 0-.714-.98-1.429-2.5-1.429z' }) ) ) ); }; return TiBusinessCard; })(React.Component); exports['default'] = TiBusinessCard; module.exports = exports['default'];