react-material-icon-svg
Version:
material icon react SVG version
49 lines (34 loc) • 4.18 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 FilePdfBoxIcon = function (_Component) {
_inherits(FilePdfBoxIcon, _Component);
function FilePdfBoxIcon(props) {
_classCallCheck(this, FilePdfBoxIcon);
return _possibleConstructorReturn(this, (FilePdfBoxIcon.__proto__ || Object.getPrototypeOf(FilePdfBoxIcon)).call(this, props));
}
_createClass(FilePdfBoxIcon, [{
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-file-pdf-box-icon ' + this.props.className }),
_react2.default.createElement('path', { d: 'M11.432 10.935a14.733 14.733 0 0 1-1.016 2.408c-.197.38-.389.735-.493 1.036l.11-.042v.001c1.269-.49 2.469-.77 3.34-.925a5.378 5.378 0 0 1-.417-.324c-.591-.509-1.114-1.249-1.524-2.154zm6.475 3.813c-.163.194-.47.3-.9.3-.766 0-1.978-.23-2.985-.74-1.745.181-3.031.42-4.048.75-.053.02-.117.044-.184.071-1.243 2.122-2.16 3.07-2.973 3.07a.974.974 0 0 1-.44-.105l-.48-.315-.023-.052a.834.834 0 0 1-.052-.539c.105-.529.653-1.365 1.881-2.118.19-.139.485-.303.89-.49.296-.522.617-1.128.953-1.805.511-1.025.83-2.044 1.087-2.924l-.004-.012c-.368-1.21-.59-1.939-.22-3.265.11-.386.418-.776.795-.776l.236.002c.235 0 .446.084.607.244.66.66.357 2.267.022 3.595l-.035.141c.394 1.128.96 2.035 1.596 2.557.255.202.545.4.862.585.456-.05.892-.074 1.298-.074 1.24 0 1.986.224 2.279.687a.81.81 0 0 1 .123.551.96.96 0 0 1-.285.662zM19 2.998H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-14a2 2 0 0 0-2-2zm-1.488 11.044c-.11-.107-.52-.356-1.917-.356-.069 0-.139 0-.229.1.739.321 1.448.512 1.902.512.07 0 .136-.005.195-.014l.034-.007c.049-.016.08-.03.09-.129-.014-.025-.038-.064-.075-.106zM8.33 15.496a3.846 3.846 0 0 0-.476.315c-.716.65-1.16 1.305-1.215 1.693.455-.157 1.043-.813 1.691-2.008zm3.016-6.905l.054-.038c.074-.324.122-.6.162-.823l.03-.163c.097-.54.084-.853-.098-1.095l-.148-.05c-.019.03-.048.072-.067.118-.167.415-.16 1.15.067 2.051z' })
);
}
}]);
return FilePdfBoxIcon;
}(_react.Component);
FilePdfBoxIcon.defaultProps = {
className: ''
};
exports.default = FilePdfBoxIcon;