UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 4.4 kB
'use strict'; Object.defineProperty(exports, "__esModule", { value: 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; }; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _react = require('react'); var _react2 = _interopRequireDefault(_react); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } 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 BasecampIcon = function (_Component) { _inherits(BasecampIcon, _Component); function BasecampIcon(props) { _classCallCheck(this, BasecampIcon); return _possibleConstructorReturn(this, (BasecampIcon.__proto__ || Object.getPrototypeOf(BasecampIcon)).call(this, props)); } _createClass(BasecampIcon, [{ key: 'render', value: function render() { return _react2.default.createElement( 'svg', _extends({ xmlns: 'http://www.w3.org/2000/svg', width: '24', height: '24', baseProfile: 'full', viewBox: '0 0 24.00 24.00' }, this.props, { className: 'material material-basecamp-icon ' + this.props.className }), _react2.default.createElement('path', { d: 'M3.388 15.64a5.487 5.487 0 0 1 .208-.8c.224-.654.563-1.262.926-1.849.18-.29.365-.579.55-.868.187-.295.378-.588.594-.863.35-.447.779-.93 1.336-1.11.784-.252 1.37.563 1.822 1.066.258.286.536.586.89.75.164.075.343.113.523.102.262-.017.495-.197.69-.359.536-.444.972-1.004 1.388-1.557.455-.604.895-1.222 1.418-1.773.213-.225.442-.525.749-.624a.585.585 0 0 1 .425.03c.073.033.14.08.197.136.065.064.143.114.216.169.56.424 1.078.902 1.567 1.405.425.437.83.895 1.216 1.368.376.462.738.932 1.052 1.442.377.62.698 1.273 1.051 1.909.322.58.65 1.25.327 1.904-.018.034-.036.069-.056.102-.571.966-1.6 1.567-2.618 1.961-1.225.474-2.543.7-3.848.79-1.35.095-2.714.09-4.062-.035-1.217-.115-2.443-.331-3.588-.774-.957-.37-1.88-.916-2.52-1.736a4.058 4.058 0 0 1-.435-.69c-.019-.038-.026-.053-.018-.096zm-1.304.883a7.054 7.054 0 0 0 1.539 1.634c.84.652 1.809 1.12 2.816 1.45 1.165.382 2.383.585 3.602.687 1.413.117 2.847.116 4.256-.032 1.308-.138 2.61-.41 3.833-.896a9.927 9.927 0 0 0 2.952-1.824 4.34 4.34 0 0 0 .622-.662c.154-.207.274-.436.296-.695.024-.305-.024-.614-.084-.911-.067-.33-.156-.654-.238-.979-.031-.118-.06-.237-.087-.356a17.054 17.054 0 0 0-1.472-4.065 15.235 15.235 0 0 0-2.058-3.036c-.751-.86-1.627-1.614-2.63-2.162a8.78 8.78 0 0 0-1.678-.698 9.818 9.818 0 0 0-.956-.235c-.082-.016-.165-.037-.249-.037H11.614c-.093 0-.186-.004-.28.007a6.106 6.106 0 0 0-.742.134 7.11 7.11 0 0 0-.938.297c-.61.24-1.189.56-1.729.932-1.055.727-1.97 1.653-2.742 2.675a15.378 15.378 0 0 0-1.975 3.548 19.56 19.56 0 0 0-1.136 4.168c-.03.182-.072.372-.072.557v.298c0 .048-.001.074.025.113l.059.088z' }) ); } }]); return BasecampIcon; }(_react.Component); BasecampIcon.defaultProps = { className: '' }; exports.default = BasecampIcon;