react-material-icon-svg
Version:
material icon react SVG version
49 lines (34 loc) • 3.33 kB
JavaScript
;
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 VimeoIcon = function (_Component) {
_inherits(VimeoIcon, _Component);
function VimeoIcon(props) {
_classCallCheck(this, VimeoIcon);
return _possibleConstructorReturn(this, (VimeoIcon.__proto__ || Object.getPrototypeOf(VimeoIcon)).call(this, props));
}
_createClass(VimeoIcon, [{
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-vimeo-icon ' + this.props.className }),
_react2.default.createElement('path', { d: 'M22 7.42c-.09 1.952-1.45 4.624-4.08 8.016-2.721 3.543-5.023 5.314-6.906 5.314-1.166 0-2.153-1.078-2.96-3.236L6.44 11.58C5.841 9.423 5.2 8.343 4.512 8.343c-.15 0-.674.316-1.57.945L2 8.073c.988-.87 1.962-1.739 2.92-2.61 1.317-1.14 2.306-1.74 2.965-1.8 1.557-.15 2.516.917 2.876 3.2.388 2.463.657 3.995.809 4.595.448 2.043.942 3.064 1.482 3.064.419 0 1.048-.663 1.886-1.989.838-1.325 1.287-2.334 1.348-3.027.12-1.144-.33-1.718-1.348-1.718-.479 0-.972.11-1.48.33.983-3.228 2.862-4.796 5.635-4.706 2.056.06 3.025 1.396 2.907 4.008z' })
);
}
}]);
return VimeoIcon;
}(_react.Component);
VimeoIcon.defaultProps = {
className: ''
};
exports.default = VimeoIcon;