UNPKG

react-material-icon-svg

Version:
49 lines (34 loc) 3.74 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 DiceD10Icon = function (_Component) { _inherits(DiceD10Icon, _Component); function DiceD10Icon(props) { _classCallCheck(this, DiceD10Icon); return _possibleConstructorReturn(this, (DiceD10Icon.__proto__ || Object.getPrototypeOf(DiceD10Icon)).call(this, props)); } _createClass(DiceD10Icon, [{ 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-dice-d10-icon ' + this.props.className }), _react2.default.createElement('path', { d: 'M16.563 12.657c0 .569-.062 1.057-.185 1.466-.124.408-.297.744-.521 1.008a1.999 1.999 0 0 1-.808.58 2.846 2.846 0 0 1-1.043.184 2.85 2.85 0 0 1-1.045-.184 2.018 2.018 0 0 1-.81-.58c-.226-.264-.401-.6-.526-1.008-.125-.409-.188-.897-.188-1.466v-1.319c0-.569.062-1.057.186-1.465.123-.409.297-.744.523-1.006a2.04 2.04 0 0 1 .807-.579c.313-.123.66-.185 1.041-.185.382 0 .73.062 1.045.185.315.124.585.316.81.579.226.262.401.597.526 1.005.125.409.188.897.188 1.466v1.319zm-1.505-1.532l-.071-.85-.209-.554a.817.817 0 0 0-.335-.304l-.449-.094-.445.094a.813.813 0 0 0-.33.304l-.207.555-.07.849v1.728l.074.86.208.565c.09.145.201.248.333.31l.449.094.447-.094a.777.777 0 0 0 .33-.31l.204-.565.07-.86v-1.728zM21.5 10.8c.6.7.6 1.7 0 2.4l-8.3 8.3c-.7.7-1.7.7-2.4 0l-8.3-8.3c-.7-.7-.7-1.7 0-2.4l8.3-8.3c.7-.7 1.7-.7 2.4 0l8.3 8.3zM20.3 12L12 3.7 3.7 12l8.3 8.3 8.3-8.3zm-9.918 3.792H8.877V9.99l-1.797.557V9.323l3.14-1.125h.162v7.594z' }) ); } }]); return DiceD10Icon; }(_react.Component); DiceD10Icon.defaultProps = { className: '' }; exports.default = DiceD10Icon;