UNPKG

@razorpay/blade

Version:

The Design System that powers Razorpay

45 lines (42 loc) 2.62 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 _PaymentButtonFilledIcon = function _PaymentButtonFilledIcon(_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: "M18.5 4C21.5376 4 24 6.46243 24 9.5C24 12.3766 21.7914 14.7354 18.9775 14.9775C18.7354 17.7914 16.3766 20 13.5 20H5.5C2.46243 20 0 17.5376 0 14.5C0 11.6237 2.20803 9.26402 5.02148 9.02148C5.264 6.20802 7.62368 4 10.5 4H18.5ZM5.21191 11.0127C3.41372 11.1592 2 12.664 2 14.5C2 16.433 3.567 18 5.5 18H13.5C15.2632 18 16.7212 16.6961 16.9639 15H10.5C7.98719 15 5.86913 13.3145 5.21191 11.0127Z", fill: iconColor }) })); }; var PaymentButtonFilledIcon = /*#__PURE__*/assignWithoutSideEffects(_PaymentButtonFilledIcon, { componentId: 'PaymentButtonFilledIcon' }); export { PaymentButtonFilledIcon as default }; //# sourceMappingURL=PaymentButtonFilledIcon.js.map