UNPKG

@razorpay/blade

Version:

The Design System that powers Razorpay

38 lines (35 loc) 2.29 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 ItalicIcon = function ItalicIcon(_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, { d: "M15.0222 3.00024H19C19.5523 3.00024 20 3.44796 20 4.00024C20 4.55253 19.5523 5.00024 19 5.00024H15.693L10.443 19.0002H14C14.5523 19.0002 15 19.448 15 20.0002C15 20.5525 14.5523 21.0002 14 21.0002H9.02418C9.00802 21.0006 8.99181 21.0006 8.97557 21.0002H5C4.44772 21.0002 4 20.5525 4 20.0002C4 19.448 4.44772 19.0002 5 19.0002H8.30704L13.557 5.00024H10C9.44772 5.00024 9 4.55253 9 4.00024C9 3.44796 9.44772 3.00024 10 3.00024H14.9782C14.9928 2.99992 15.0075 2.99992 15.0222 3.00024Z", fill: iconColor }) })); }; export { ItalicIcon as default }; //# sourceMappingURL=ItalicIcon.js.map