ultra-icon
Version:
52 lines (49 loc) • 2.5 kB
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
import withWrapper from '../utils/withWrapper.js';
var __defProp = Object.defineProperty;
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __propIsEnum = Object.prototype.propertyIsEnumerable;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __spreadValues = (a, b) => {
for (var prop in b || (b = {}))
if (__hasOwnProp.call(b, prop))
__defNormalProp(a, prop, b[prop]);
if (__getOwnPropSymbols)
for (var prop of __getOwnPropSymbols(b)) {
if (__propIsEnum.call(b, prop))
__defNormalProp(a, prop, b[prop]);
}
return a;
};
var __objRest = (source, exclude) => {
var target = {};
for (var prop in source)
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
target[prop] = source[prop];
if (source != null && __getOwnPropSymbols)
for (var prop of __getOwnPropSymbols(source)) {
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
target[prop] = source[prop];
}
return target;
};
const FormulaIconComponent = (p) => {
const _a = p, { size } = _a, props = __objRest(_a, ["size"]);
return /* @__PURE__ */ React.createElement("svg", __spreadValues({
viewBox: "0 0 32 32",
xmlns: "http://www.w3.org/2000/svg",
width: size,
height: size,
fill: "currentColor"
}, props), /* @__PURE__ */ React.createElement("path", {
fill: "currentColor",
d: "M17.085 4.401C15.498 3.145 13.151 4.173 13 6.192l-.21 2.804H17a1 1 0 1 1 0 2h-4.362L11.486 26.31c-.288 3.831-4.918 5.583-7.67 2.902l-.514-.5a1 1 0 0 1 1.396-1.433l.513.5c1.536 1.497 4.12.52 4.281-1.62l1.14-15.163H8a1 1 0 1 1 0-2h2.783l.222-2.954c.272-3.618 4.477-5.46 7.322-3.209l.794.629a1 1 0 1 1-1.242 1.568l-.794-.629Zm-.88 11.87a1.115 1.115 0 0 1 1.75.38l1.863 4.113-5.525 5.525a1 1 0 0 0 1.414 1.414l4.992-4.992 1.574 3.476c.905 1.998 3.535 2.46 5.067.892l.375-.385a1 1 0 1 0-1.43-1.397l-.376.384a1.115 1.115 0 0 1-1.814-.319L22.21 21.2l5.497-5.497a1 1 0 0 0-1.414-1.414l-4.964 4.964-1.552-3.427a3.115 3.115 0 0 0-4.887-1.062l-.548.479a1 1 0 0 0 1.316 1.506l.548-.478Z"
}));
};
FormulaIconComponent.propTypes = {
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
};
const FormulaIcon = withWrapper(FormulaIconComponent);
export { FormulaIcon as default };