UNPKG

plotly-icons

Version:
51 lines (38 loc) 1.89 kB
'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 FlowerPoppyIcon = function FlowerPoppyIcon(_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.5,12C20.43,12 22,10.43 22,8.5C22,4.91 19.09,2 15.5,2C13.57,2 12,3.57 12,5.5C12,3.57 10.43,2 8.5,2C4.91,2 2,4.91 2,8.5C2,10.43 3.57,12 5.5,12C3.57,12 2,13.57 2,15.5C2,19.09 4.91,22 8.5,22C10.43,22 12,20.43 12,18.5C12,20.43 13.57,22 15.5,22C19.09,22 22,19.09 22,15.5C22,13.57 20.43,12 18.5,12M12,16C9.79,16 8,14.21 8,12C8,9.79 9.79,8 12,8C14.21,8 16,9.79 16,12C16,14.21 14.21,16 12,16M14.5,12C14.5,13.38 13.38,14.5 12,14.5C10.62,14.5 9.5,13.38 9.5,12C9.5,10.62 10.62,9.5 12,9.5C13.38,9.5 14.5,10.62 14.5,12Z' }) ); }; module.exports = FlowerPoppyIcon;