UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.67 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 WeightKilogramIcon = function (_Component) { _inherits(WeightKilogramIcon, _Component); function WeightKilogramIcon(props) { _classCallCheck(this, WeightKilogramIcon); return _possibleConstructorReturn(this, (WeightKilogramIcon.__proto__ || Object.getPrototypeOf(WeightKilogramIcon)).call(this, props)); } _createClass(WeightKilogramIcon, [{ 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-weight-kilogram-icon ' + this.props.className }), _react2.default.createElement('path', { d: 'M12 3a4 4 0 0 1 3.465 6H18a2 2 0 0 1 1.95 1.557C21.966 18.568 22 18.78 22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2c0-.22.036-.432 2.05-8.443A2 2 0 0 1 6 9h2.535A4 4 0 0 1 12 3zm0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4zM9.037 15.44L10.396 18h1.716l-2.041-3.343 1.88-2.716H10.2l-1.333 2.39h-.479v-2.39H6.975V18h1.413v-2.56h.65zm8.276 1.723v-2.235h-2.366v1.11h.954v.757l-.35.132-.608.049c-.356 0-.632-.126-.83-.38-.197-.252-.296-.586-.296-1.001v-1.256c0-.405.1-.735.3-.99a.957.957 0 0 1 .792-.384c.328 0 .572.08.732.242.16.16.263.4.31.718h1.321l.008-.025c-.052-.632-.273-1.13-.662-1.496-.389-.365-.974-.548-1.754-.548-.72 0-1.308.232-1.765.695-.457.463-.686 1.059-.686 1.788v1.264c0 .735.234 1.332.702 1.792.468.46 1.077.69 1.828.69.592 0 1.083-.093 1.475-.278.392-.186.69-.4.895-.644z' }) ); } }]); return WeightKilogramIcon; }(_react.Component); WeightKilogramIcon.defaultProps = { className: '' }; exports.default = WeightKilogramIcon;