UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.28 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 BullhornIcon = function (_Component) { _inherits(BullhornIcon, _Component); function BullhornIcon(props) { _classCallCheck(this, BullhornIcon); return _possibleConstructorReturn(this, (BullhornIcon.__proto__ || Object.getPrototypeOf(BullhornIcon)).call(this, props)); } _createClass(BullhornIcon, [{ 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-bullhorn-icon ' + this.props.className }), _react2.default.createElement('path', { d: 'M16 12v4a1 1 0 0 1-1 1c-.167 0-.333 0-.944-.5-.612-.5-1.667-1.5-2.75-2-1-.461-2.023-.497-3.048-.5l1.208 3.318.034.182a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.474-.34L5.194 14H5a1 1 0 0 1-1-1 2 2 0 1 1 0-4 1 1 0 0 1 1-1h3c1.111 0 2.222 0 3.306-.5 1.083-.5 2.138-1.5 2.75-2 .61-.5.777-.5.944-.5a1 1 0 0 1 1 1v4a1 1 0 1 1 0 2zm5-1c0 1.38-.56 2.63-1.465 3.536l-1.414-1.415A2.99 2.99 0 0 0 19 11a2.99 2.99 0 0 0-.879-2.121l1.415-1.415A4.984 4.984 0 0 1 21 11z' }) ); } }]); return BullhornIcon; }(_react.Component); BullhornIcon.defaultProps = { className: '' }; exports.default = BullhornIcon;