UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.8 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 SnapchatIcon = function (_Component) { _inherits(SnapchatIcon, _Component); function SnapchatIcon(props) { _classCallCheck(this, SnapchatIcon); return _possibleConstructorReturn(this, (SnapchatIcon.__proto__ || Object.getPrototypeOf(SnapchatIcon)).call(this, props)); } _createClass(SnapchatIcon, [{ 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-snapchat-icon ' + this.props.className }), _react2.default.createElement('path', { d: 'M12 20.447c-1.185.003-1.902-.504-2.534-.951-.454-.32-.881-.623-1.382-.706-1.153-.062-1.49.004-2.118.107-.105 0-.233-.023-.287-.206-.175-.753-.229-.958-.354-.977-1.345-.208-2.139-.513-2.297-.883-.034-.227.044-.324.153-.342 1.067-.176 2.016-.74 2.82-1.678.624-.726.93-1.42.963-1.496.16-.325.191-.597.097-.818-.173-.409-.747-.59-1.381-.797-.337-.133-.89-.414-.816-.802.053-.282.427-.479.95-.435.341.16.649.241.913.241.328 0 .487-.125.525-.16-.11-1.765-.206-3.291.185-4.167C8.605 3.757 11.084 3.554 12 3.552c.916.002 3.395.205 4.563 2.825.39.876.294 2.402.185 4.166.038.036.197.161.525.161.264 0 .572-.081.913-.241.523-.044.896.153.95.435.074.388-.48.669-.816.802-.634.206-1.208.388-1.381.797-.094.221-.063.493.097.818.033.077.339.77.962 1.496.805.938 1.754 1.502 2.822 1.678.108.018.186.115.152.342-.158.37-.952.675-2.297.883-.125.019-.179.224-.354.977-.054.183-.182.206-.287.206-.628-.103-.965-.169-2.118-.107-.501.083-.928.385-1.382.706-.632.447-1.349.954-2.534.95z' }) ); } }]); return SnapchatIcon; }(_react.Component); SnapchatIcon.defaultProps = { className: '' }; exports.default = SnapchatIcon;