UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.29 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 AvTimerIcon = function (_Component) { _inherits(AvTimerIcon, _Component); function AvTimerIcon(props) { _classCallCheck(this, AvTimerIcon); return _possibleConstructorReturn(this, (AvTimerIcon.__proto__ || Object.getPrototypeOf(AvTimerIcon)).call(this, props)); } _createClass(AvTimerIcon, [{ 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-av-timer-icon ' + this.props.className }), _react2.default.createElement('path', { d: 'M11.001 17.003a1 1 0 1 0 1.001-1.001c-.552 0-1 .448-1 1zm0-14.005v4.005h1.997V5.077c3.393.494 6 3.394 6 6.925A6.993 6.993 0 0 1 12.003 19 6.995 6.995 0 0 1 5 12.003c0-1.68.591-3.224 1.582-4.426l5.42 5.42 1.407-1.406L6.61 4.79v.02C4.42 6.45 2.998 9.047 2.998 12.002a9 9 0 0 0 9.004 9c4.966 0 9-4.034 9-9 0-4.97-4.034-9.004-9-9.004m5.995 9.005A1 1 0 0 0 17.003 11c-.553 0-1.002.449-1.002 1.002a1 1 0 0 0 1.996 0zm-11.996 0a1 1 0 1 0 1.001-1.001c-.552 0-1 .448-1 1z' }) ); } }]); return AvTimerIcon; }(_react.Component); AvTimerIcon.defaultProps = { className: '' }; exports.default = AvTimerIcon;