UNPKG

@razorpay/blade

Version:

The Design System that powers Razorpay

40 lines (37 loc) 2.5 kB
import _defineProperty from '@babel/runtime/helpers/defineProperty'; import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties'; import '../_Svg/index.js'; import '../useIconProps/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'; 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 SendIcon = function SendIcon(_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: "M22.7071 1.29292C22.9306 1.5164 23.0262 1.81935 22.9939 2.11081C22.9848 2.19252 22.9657 2.27332 22.9366 2.35121L15.9439 22.3304C15.8084 22.7174 15.4504 22.9825 15.0408 22.9992C14.6311 23.0159 14.2527 22.7808 14.0862 22.4062L10.2424 13.7576L1.59387 9.91384C1.21919 9.74731 0.984122 9.36894 1.00084 8.95926C1.01755 8.54958 1.28265 8.19162 1.66965 8.05617L21.6488 1.06348C21.7272 1.03414 21.8085 1.01497 21.8907 1.00598C21.9511 0.999338 22.0117 0.998262 22.0717 1.00259C22.3032 1.01913 22.5301 1.11591 22.7071 1.29292ZM18.1943 4.3915L4.71108 9.11063L10.7785 11.8073L18.1943 4.3915ZM12.1927 13.2215L19.6085 5.80571L14.8894 19.2889L12.1927 13.2215Z", fill: iconColor }) })); }; export { SendIcon as default }; //# sourceMappingURL=SendIcon.js.map