plotly-icons
Version:
set of plotly icons
51 lines (38 loc) • 1.84 kB
JavaScript
;
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 BugTickIcon = function BugTickIcon(_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: 'M18,7H15.19C14.74,6.2 14.12,5.5 13.37,5L15,3.41L13.59,2L11.42,4.17C10.96,4.06 10.5,4 10,4C9.5,4 9.05,4.06 8.59,4.17L6.41,2L5,3.41L6.62,5C5.87,5.5 5.26,6.21 4.81,7H2V9H4.09C4.03,9.33 4,9.66 4,10V11H2V13H4V14C4,14.34 4.03,14.67 4.09,15H2V17H4.81C6.26,19.5 9.28,20.61 12,19.65C12,19.43 12,19.22 12,19C12,16.46 13.61,14.2 16,13.35V13H18V11H16V10C16,9.66 15.97,9.33 15.91,9H18V7M12,15H8V13H12V15M12,11H8V9H12V11M17.75,22.16L15,19.16L16.16,18L17.75,19.59L21.34,16L22.5,17.41L17.75,22.16Z' })
);
};
module.exports = BugTickIcon;