|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- 'use strict';
-
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
-
- var React = _interopDefault(require('react'));
-
- 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 objectWithoutProperties = function (obj, keys) {
- var target = {};
-
- for (var i in obj) {
- if (keys.indexOf(i) >= 0) continue;
- if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
- target[i] = obj[i];
- }
-
- return target;
- };
-
- var CollectionIcon = function CollectionIcon(_ref) {
- var _ref$color = _ref.color,
- color = _ref$color === undefined ? 'currentColor' : _ref$color,
- _ref$size = _ref.size,
- size = _ref$size === undefined ? 24 : _ref$size,
- children = _ref.children,
- props = objectWithoutProperties(_ref, ['color', 'size', 'children']);
-
- var className = 'mdi-icon ' + (props.className || '');
-
- return React.createElement(
- 'svg',
- _extends({}, props, { className: className, width: size, height: size, fill: color, viewBox: '0 0 24 24' }),
- React.createElement('path', { d: 'M7.36,5.94L10.8,2.5C11.5,1.8 12.5,1.8 13.2,2.5L16.64,5.94L12,10.59L7.36,5.94M18.06,7.36L13.41,12L18.06,16.64L21.5,13.2C22.1,12.5 22.1,11.5 21.5,10.8L18.06,7.36M5.94,16.64L10.59,12L5.94,7.36L2.5,10.8C1.8,11.5 1.8,12.5 2.5,13.2L5.94,16.64M12,13.41L7.36,18.06L10.8,21.5C11.5,22.2 12.5,22.2 13.2,21.5L16.64,18.06L12,13.41Z' })
- );
- };
-
- var CollectionIcon$1 = React.memo ? React.memo(CollectionIcon) : CollectionIcon;
-
- module.exports = CollectionIcon$1;
|