react-material-icon-svg
Version:
material icon react SVG version
49 lines (34 loc) • 3.46 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 FormatSectionIcon = function (_Component) {
_inherits(FormatSectionIcon, _Component);
function FormatSectionIcon(props) {
_classCallCheck(this, FormatSectionIcon);
return _possibleConstructorReturn(this, (FormatSectionIcon.__proto__ || Object.getPrototypeOf(FormatSectionIcon)).call(this, props));
}
_createClass(FormatSectionIcon, [{
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-format-section-icon ' + this.props.className }),
_react2.default.createElement('path', { d: 'M15.67 4.42a6.11 6.11 0 0 0-3.22-.86c-1.58 0-2.79.78-2.79 2 0 1.4 1.34 1.91 3.36 2.58 2.47.81 4.38 1.83 4.38 4.24a4 4 0 0 1-1.8 3.23 3.2 3.2 0 0 1 1 2.36c0 2.82-2.6 4-5.1 4a7.29 7.29 0 0 1-4.15-1.1l.64-1.53a6.41 6.41 0 0 0 3.54 1.1c1.72 0 3-.78 3-2.2 0-1.26-.78-1.93-3.28-2.79-2.74-.94-4.65-1.93-4.65-4.24a3.79 3.79 0 0 1 2-3.14 3.17 3.17 0 0 1-1-2.26C7.6 3.45 9.77 2 12.53 2a7.68 7.68 0 0 1 3.7.89l-.56 1.53zm-4.32 9c1.061.325 2.086.757 3.06 1.29a2.49 2.49 0 0 0 1-2.07c0-1-.64-1.88-2.39-2.5a23.37 23.37 0 0 1-3.3-1.37 2.5 2.5 0 0 0-1.21 2.14c0 .97.72 1.77 2.84 2.51z' })
);
}
}]);
return FormatSectionIcon;
}(_react.Component);
FormatSectionIcon.defaultProps = {
className: ''
};
exports.default = FormatSectionIcon;