UNPKG

@razorpay/blade

Version:

The Design System that powers Razorpay

45 lines (42 loc) 2.89 kB
import _defineProperty from '@babel/runtime/helpers/defineProperty'; import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties'; import '../_Svg/index.js'; import '../useIconProps/index.js'; import '../../../utils/assignWithoutSideEffects/index.js'; import { jsx } from 'react/jsx-runtime'; import useIconProps from '../useIconProps/useIconProps.js'; import Svg from '../_Svg/Svg/Svg.web.js'; import Path from '../_Svg/Path/Path.web.js'; import { assignWithoutSideEffects } from '../../../utils/assignWithoutSideEffects/assignWithoutSideEffects.js'; var _excluded = ["size", "color"]; function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } var _OptimizerIcon = function _OptimizerIcon(_ref) { var size = _ref.size, color = _ref.color, styledProps = _objectWithoutProperties(_ref, _excluded); var _useIconProps = useIconProps({ size: size, color: color }), height = _useIconProps.height, width = _useIconProps.width, iconColor = _useIconProps.iconColor; return /*#__PURE__*/jsx(Svg, _objectSpread(_objectSpread({}, styledProps), {}, { width: width, height: height, viewBox: "0 0 24 24", fill: "none", children: /*#__PURE__*/jsx(Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M7 3C7 2.44772 6.55228 2 6 2C5.44772 2 5 2.44772 5 3V14.126C3.27477 14.5701 2 16.1362 2 18C2 20.2091 3.79086 22 6 22C7.8779 22 9.45354 20.7059 9.88384 18.9609C12.212 18.7544 14.4052 17.737 16.0711 16.0711C17.737 14.4052 18.7544 12.212 18.9609 9.88384C20.7059 9.45354 22 7.8779 22 6C22 3.79086 20.2091 2 18 2C15.7909 2 14 3.79086 14 6C14 7.84705 15.2519 9.4017 16.9535 9.86171C16.758 11.6666 15.9526 13.3611 14.6569 14.6569C13.3611 15.9526 11.6666 16.758 9.86171 16.9535C9.48769 15.57 8.39006 14.4838 7 14.126V3ZM8 18C8 16.8954 7.10457 16 6 16C4.89543 16 4 16.8954 4 18C4 19.1046 4.89543 20 6 20C7.10457 20 8 19.1046 8 18ZM18 8C19.1046 8 20 7.10457 20 6C20 4.89543 19.1046 4 18 4C16.8954 4 16 4.89543 16 6C16 7.10457 16.8954 8 18 8Z", fill: iconColor }) })); }; var OptimizerIcon = /*#__PURE__*/assignWithoutSideEffects(_OptimizerIcon, { componentId: 'OptimizerIcon' }); export { OptimizerIcon as default }; //# sourceMappingURL=OptimizerIcon.js.map