@razorpay/blade
Version:
The Design System that powers Razorpay
40 lines (37 loc) • 4.71 kB
JavaScript
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 ConfettiIcon = function ConfettiIcon(_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: "M13.625 0.5C14.1773 0.5 14.625 0.947715 14.625 1.5V3.75C14.625 4.30228 14.1773 4.75 13.625 4.75C13.0727 4.75 12.625 4.30228 12.625 3.75V1.5C12.625 0.947715 13.0727 0.5 13.625 0.5ZM8.22544 11.3897L7.18009 14.2639L10.2363 17.3201L13.1106 16.2748L8.22544 11.3897ZM5.06342 14.2323C5.07448 14.1953 5.08774 14.1588 5.10318 14.123L6.85766 9.29891C6.87105 9.25124 6.88805 9.20437 6.90865 9.15872L8.27881 5.39135C8.37803 5.11773 8.54499 4.87266 8.76363 4.68054C8.98251 4.4882 9.24641 4.35425 9.53087 4.29111C9.81532 4.22797 10.1111 4.23769 10.3908 4.31936C10.6704 4.401 10.9248 4.55187 11.1305 4.758L19.7437 13.3712C19.9494 13.5772 20.1003 13.8321 20.1815 14.1117C20.2627 14.3912 20.2721 14.6867 20.2088 14.9709C20.1454 15.255 20.0114 15.5186 19.8192 15.7372C19.6272 15.9554 19.3834 16.1217 19.1103 16.2209L19.1089 16.2214L15.3111 17.6026C15.2844 17.6136 15.2574 17.6235 15.2301 17.6321L10.3462 19.4083C10.3302 19.4146 10.314 19.4205 10.2977 19.4259L5.57598 21.1432C5.26642 21.2562 4.93051 21.2786 4.60875 21.2075C4.28681 21.1363 3.9919 20.9746 3.75875 20.7415C3.5256 20.5083 3.36392 20.2134 3.29275 19.8915C3.22162 19.5697 3.24383 19.2344 3.35677 18.9249L5.06342 14.2323ZM5.43326 19.0669L8.16219 18.0745L6.42575 16.338L5.43326 19.0669ZM8.97977 9.31556L15.1846 15.5204L18.0298 14.4857L10.0145 6.47043L8.97977 9.31556ZM21.8321 10.1679C21.4416 9.77737 20.8084 9.77737 20.4179 10.1679C20.0274 10.5584 20.0274 11.1916 20.4179 11.5821L21.9179 13.0821C22.3084 13.4726 22.9416 13.4726 23.3321 13.0821C23.7226 12.6916 23.7226 12.0584 23.3321 11.6679L21.8321 10.1679ZM23.949 6.43404C24.1236 6.95799 23.8404 7.52431 23.3165 7.69895L21.0665 8.44895C20.5426 8.6236 19.9762 8.34044 19.8016 7.8165C19.6269 7.29256 19.9101 6.72624 20.434 6.55159L22.684 5.80159C23.208 5.62694 23.7743 5.9101 23.949 6.43404ZM21.7499 2.25C21.7499 1.69772 21.3021 1.25 20.7499 1.25L19.7499 2.24083L19.7499 2.24033L19.7499 2.23966C19.7499 2.23966 19.7499 2.24006 19.7499 2.24084L19.7499 2.24195C19.7497 2.24664 19.7492 2.25813 19.748 2.27543C19.7455 2.31037 19.74 2.36681 19.7283 2.43716C19.7041 2.58261 19.6574 2.76125 19.5742 2.92779C19.4929 3.09041 19.3866 3.22261 19.2459 3.31639C19.1115 3.40599 18.8874 3.5 18.4999 3.5C17.3827 3.5 16.5759 3.93022 16.0493 4.54979C15.5569 5.12915 15.3752 5.79519 15.3041 6.20335C15.2093 6.74744 15.5735 7.26536 16.1176 7.36016C16.6617 7.45496 17.1796 7.09073 17.2744 6.54665C17.3148 6.31449 17.405 6.04304 17.5733 5.84497C17.7074 5.68712 17.9501 5.5 18.4999 5.5C19.2373 5.5 19.8569 5.31276 20.3553 4.98049C20.8475 4.65239 21.1631 4.22209 21.363 3.82221C21.561 3.42625 21.655 3.04239 21.7011 2.76596C21.7245 2.62538 21.7366 2.50604 21.7429 2.41793C21.7461 2.3737 21.7478 2.33686 21.7487 2.30858C21.7492 2.29443 21.7495 2.28238 21.7497 2.27258L21.7498 2.25957L21.7498 2.25435L21.7499 2.25206V2.251C21.7499 2.2505 21.7499 2.25 20.7499 2.25H21.7499Z",
fill: iconColor
})
}));
};
export { ConfettiIcon as default };
//# sourceMappingURL=ConfettiIcon.js.map