UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.46 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 XingCircleIcon = function (_Component) { _inherits(XingCircleIcon, _Component); function XingCircleIcon(props) { _classCallCheck(this, XingCircleIcon); return _possibleConstructorReturn(this, (XingCircleIcon.__proto__ || Object.getPrototypeOf(XingCircleIcon)).call(this, props)); } _createClass(XingCircleIcon, [{ 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-xing-circle-icon ' + this.props.className }), _react2.default.createElement('path', { d: 'M12.002 2.002c-5.522 0-10 4.478-10 10 0 5.523 4.478 10 10 10 5.523 0 10-4.477 10-10 0-5.522-4.477-10-10-10zm3.848 4h1.894c.112 0 .2.038.25.117.049.082.049.185-.005.287l-4.152 7.354 2.643 4.829c.054.102.054.21.005.292-.05.079-.137.118-.25.118H14.36c-.287 0-.429-.19-.522-.357l-2.665-4.887c.136-.235 4.173-7.398 4.173-7.398.103-.18.22-.356.504-.356zM7.51 8.564h1.875c.287 0 .425.185.518.351l1.288 2.252c-.072.136-2.021 3.578-2.021 3.578-.098.171-.23.361-.512.361H6.783a.275.275 0 0 1-.246-.127c-.048-.078-.048-.185 0-.287l1.993-3.525-1.264-2.193c-.053-.107-.064-.21-.015-.289.049-.077.141-.121.259-.121z' }) ); } }]); return XingCircleIcon; }(_react.Component); XingCircleIcon.defaultProps = { className: '' }; exports.default = XingCircleIcon;