UNPKG

@razorpay/blade

Version:

The Design System that powers Razorpay

40 lines (37 loc) 3.88 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 AnnouncementIcon = function AnnouncementIcon(_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.7743 0.363035C14.0383 0.159916 14.3547 0.0363566 14.6865 0.00687107C15.0183 -0.0226146 15.3516 0.0431988 15.6473 0.196579C15.9429 0.34996 16.1887 0.584536 16.3557 0.872751L23.8564 13.8644C24.023 14.1531 24.1038 14.4835 24.0891 14.8165C24.0744 15.1494 23.9649 15.4712 23.7736 15.7441C23.5822 16.017 23.3169 16.2295 23.0089 16.3567C22.7012 16.4838 22.3638 16.5205 22.0361 16.4625C19.0399 15.9345 16.4708 16.2347 14.6537 16.6655C13.8958 16.8451 13.2709 17.0471 12.8032 17.2197L14.1451 19.5439C14.2889 19.7933 14.3692 20.0747 14.3784 20.3624C14.3877 20.6501 14.3258 20.9356 14.1983 21.1936L13.6487 22.3047C13.5244 22.556 13.3413 22.7741 13.1153 22.94C12.8891 23.1059 12.6263 23.2151 12.3492 23.2582C12.072 23.3014 11.7885 23.2773 11.5226 23.1879C11.2595 23.0995 11.0212 22.9498 10.8274 22.7513L7.91081 19.8194C6.99128 20.1626 5.98112 20.2147 5.02062 19.9574C3.80377 19.6313 2.76628 18.8352 2.13639 17.7442C1.5065 16.6532 1.33581 15.3567 1.66186 14.1398C1.98792 12.923 2.78401 11.8855 3.87501 11.2556L7.09987 9.39373L7.11694 9.38248C7.14203 9.36576 7.18224 9.33849 7.23602 9.30055C7.34361 9.22464 7.50532 9.10616 7.70879 8.94409C8.11602 8.61974 8.6888 8.12217 9.32936 7.44338C10.6109 6.0853 12.1554 4.01088 13.1965 1.15285C13.31 0.839989 13.5105 0.566004 13.7743 0.363035ZM7.61439 17.7569C7.62235 17.7522 7.63037 17.7475 7.63843 17.7431L10.0066 16.3758L7.25658 11.6127L4.87501 12.9877C4.24338 13.3523 3.78249 13.953 3.59372 14.6575C3.40495 15.362 3.50377 16.1126 3.86844 16.7442C4.23312 17.3759 4.83377 17.8368 5.53826 18.0255C6.23881 18.2132 6.98498 18.1166 7.61439 17.7569ZM8.93679 10.5229C8.94278 10.5181 8.9488 10.5133 8.95484 10.5085C9.4261 10.1331 10.0703 9.57224 10.7839 8.81603C12.1352 7.38416 13.7426 5.24389 14.8885 2.33153L21.8607 14.4077C18.7654 13.9435 16.108 14.2653 14.1923 14.7194C13.1806 14.9593 12.3727 15.2367 11.812 15.4571C11.8048 15.46 11.7976 15.4628 11.7905 15.4656L8.93679 10.5229ZM11.0066 18.1078L9.75058 18.833L12.0108 21.105L12.3459 20.4276L11.0066 18.1078Z", fill: iconColor }) })); }; export { AnnouncementIcon as default }; //# sourceMappingURL=AnnouncementIcon.js.map