UNPKG

@razorpay/blade

Version:

The Design System that powers Razorpay

45 lines (42 loc) 3.99 kB
import _defineProperty from '@babel/runtime/helpers/defineProperty'; import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties'; import '../_Svg/index.js'; import '../useIconProps/index.js'; import { jsxs, 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 SlackIcon = function SlackIcon(_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__*/jsxs(Svg, _objectSpread(_objectSpread({}, styledProps), {}, { width: width, height: height, viewBox: "0 0 24 24", fill: "none", children: [/*#__PURE__*/jsx(Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M12.2446 5.04472C12.7668 4.86495 13.3359 5.14257 13.5156 5.66478L14.1673 7.55779L16.0645 6.9047C16.5867 6.72494 17.1558 7.00255 17.3356 7.52476C17.5153 8.04697 17.2377 8.61603 16.7155 8.79579L14.8182 9.44889L15.7915 12.2763L17.6845 11.6247C18.2067 11.4449 18.7758 11.7225 18.9556 12.2447C19.1353 12.7669 18.8577 13.336 18.3355 13.5158L16.4425 14.1674L17.0956 16.0648C17.2754 16.587 16.9978 17.156 16.4756 17.3358C15.9534 17.5156 15.3843 17.238 15.2045 16.7157L14.5514 14.8184L11.724 15.7916L12.3757 17.6848C12.5554 18.207 12.2778 18.776 11.7556 18.9558C11.2334 19.1356 10.6643 18.858 10.4846 18.3357L9.83291 16.4426L7.9355 17.0958C7.41329 17.2755 6.84423 16.9979 6.66447 16.4757C6.48471 15.9535 6.76232 15.3844 7.28453 15.2047L9.18194 14.5515L8.20865 11.7241L6.3155 12.3758C5.79329 12.5556 5.22423 12.2779 5.04447 11.7557C4.86471 11.2335 5.14232 10.6645 5.66453 10.4847L7.55768 9.83302L6.90458 7.93574C6.72482 7.41353 7.00243 6.84447 7.52464 6.66471C8.04685 6.48495 8.61591 6.76256 8.79567 7.28477L9.44877 9.18205L12.2762 8.20877L11.6245 6.31575C11.4448 5.79354 11.7224 5.22448 12.2446 5.04472ZM11.073 13.9006L13.9004 12.9273L12.9272 10.0999L10.0997 11.0731L11.073 13.9006Z", fill: iconColor }), /*#__PURE__*/jsx(Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M17.9919 0.883049C20.4045 2.18747 21.8873 4.8663 23.0378 8.71261C24.1896 12.5388 24.4093 15.5811 23.0973 17.9941C21.787 20.4039 19.1109 21.8869 15.2883 23.0378C11.4618 24.1898 8.41925 24.4096 6.0061 23.0975C3.59631 21.7872 2.11331 19.111 0.962492 15.2885C-0.189536 11.4619 -0.409347 8.41942 0.902757 6.00627C2.21304 3.59648 4.88922 2.11348 8.71176 0.962661C12.5347 -0.18827 15.5777 -0.422221 17.9919 0.883049ZM17.0407 2.64236C15.3673 1.73763 13.0054 1.75868 9.28832 2.87775C5.57086 3.99694 3.57204 5.28394 2.65982 6.96164C1.74942 8.63599 1.75961 10.9985 2.87758 14.7119C3.99677 18.4294 5.28377 20.4282 6.96147 21.3404C8.63582 22.2508 10.9983 22.2406 14.7118 21.1227C18.4292 20.0035 20.428 18.7165 21.3403 17.0388C22.2507 15.3644 22.2405 13.0019 21.1225 9.28849L21.122 9.28674C20.0025 5.54362 18.7154 3.54783 17.0407 2.64236Z", fill: iconColor })] })); }; export { SlackIcon as default }; //# sourceMappingURL=SlackIcon.js.map