UNPKG

@razorpay/blade

Version:

The Design System that powers Razorpay

40 lines (37 loc) 4.73 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 GithubIcon = function GithubIcon(_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: "M17.855 1.3197C18.6995 1.07098 19.5002 0.991837 20.016 1.00009C20.4706 1.00736 20.863 1.32035 20.9712 1.76191C21.1356 2.43264 21.3702 4.00944 21.0918 5.49254C22.2038 6.87887 22.4888 8.6263 22.4997 9.45102C22.6099 10.7149 22.379 12.5853 21.3146 14.2274C20.4058 15.6295 18.9314 16.7975 16.7173 17.2922C16.9451 17.8826 17.0445 18.5218 17 19.1667V23C17 23.5522 16.5523 24 16 24C15.4477 24 15 23.5522 15 23V19.13C15 19.1038 15.001 19.0776 15.0031 19.0515C15.0564 18.3732 14.8156 17.7046 14.342 17.216C14.071 16.9365 13.9869 16.5251 14.1264 16.1616C14.2659 15.7981 14.6037 15.5487 14.9922 15.5223C17.5206 15.3504 18.8877 14.2945 19.6364 13.1395C20.4188 11.9324 20.5913 10.5102 20.5045 9.59434C20.5015 9.56297 20.5 9.53147 20.5 9.49996C20.5 8.89998 20.2339 7.41808 19.2929 6.47707C19.0353 6.2195 18.9382 5.84224 19.0393 5.4923C19.2623 4.7209 19.2468 3.78298 19.1677 3.06904C18.9367 3.10635 18.6823 3.16097 18.42 3.23822C17.7705 3.42953 17.1522 3.73607 16.7118 4.18237C16.4584 4.43907 16.0865 4.53948 15.7384 4.44514C13.6177 3.87039 11.3823 3.87039 9.26158 4.44514C8.96211 4.5263 8.64193 4.46386 8.39491 4.27612C7.46998 3.57317 6.49906 3.23806 5.81162 3.09413C5.75353 3.69573 5.7542 4.56301 5.97577 5.55118C6.04434 5.85703 5.96554 6.17735 5.76289 6.41648C4.7433 7.61959 4.49999 9.05073 4.49999 9.51996C4.49999 9.55384 4.49827 9.5877 4.49483 9.62141C4.41128 10.4408 4.5746 11.7702 5.35916 12.9592C6.11745 14.1084 7.51271 15.2143 10.0734 15.5589C10.4473 15.6092 10.761 15.8657 10.8847 16.2221C11.0084 16.5786 10.921 16.9743 10.6586 17.2454C10.1907 17.7289 9.95032 18.3886 9.99753 19.0598C9.99917 19.0832 9.99999 19.1066 9.99999 19.13V19.9775C10.0003 19.9928 10.0003 20.008 9.99999 20.0232V23C9.99999 23.5522 9.55228 24 8.99999 24C8.44771 24 7.99999 23.5522 7.99999 23V21.2543C7.19382 21.3776 6.48439 21.3564 5.85023 21.208C4.88546 20.9822 4.19642 20.4856 3.66789 19.9571C3.40924 19.6984 3.18642 19.4295 2.99387 19.1883C2.92845 19.1064 2.86866 19.0304 2.81216 18.9587C2.69174 18.8058 2.58628 18.6719 2.47312 18.5391C2.14508 18.154 1.94159 18.0161 1.75746 17.9701C1.22166 17.8362 0.895901 17.2932 1.02985 16.7574C1.1638 16.2216 1.70673 15.8959 2.24253 16.0298C3.0584 16.2338 3.60491 16.7835 3.99561 17.2421C4.13475 17.4055 4.27845 17.5879 4.41008 17.7549C4.46116 17.8198 4.51042 17.8823 4.55689 17.9405C4.73544 18.1642 4.90324 18.364 5.0821 18.5429C5.42857 18.8893 5.80202 19.1427 6.306 19.2606C6.70619 19.3543 7.24823 19.3763 7.99999 19.2232V19.1628C7.95909 18.5005 8.06983 17.8452 8.31522 17.2434C6.08068 16.6375 4.60183 15.4429 3.68982 14.0607C2.62899 12.453 2.38836 10.6737 2.50044 9.46691C2.51372 8.66198 2.82748 7.01403 3.9295 5.51322C3.62503 3.76748 3.84423 2.32145 4.04887 1.69115C4.1804 1.28602 4.55413 1.00868 4.98 1.00016C5.78253 0.984108 7.52234 1.26931 9.2036 2.397C11.3496 1.89158 13.583 1.88649 15.7308 2.38172C16.4022 1.85092 17.1693 1.52164 17.855 1.3197Z", fill: iconColor }) })); }; export { GithubIcon as default }; //# sourceMappingURL=GithubIcon.js.map