UNPKG

@razorpay/blade

Version:

The Design System that powers Razorpay

40 lines (37 loc) 3.59 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 RadioIcon = function RadioIcon(_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: "M5.63715 5.63718C6.02762 5.24659 6.02752 4.61343 5.63694 4.22296C5.24636 3.8325 4.61319 3.83259 4.22273 4.22318C-0.071475 8.51867 -0.071475 15.4817 4.22273 19.7772C4.61319 20.1678 5.24636 20.1679 5.63694 19.7774C6.02752 19.3869 6.02762 18.7538 5.63715 18.3632C2.12372 14.8487 2.12372 9.15167 5.63715 5.63718ZM19.7772 4.22318C19.3867 3.83259 18.7535 3.8325 18.3629 4.22296C17.9724 4.61343 17.9723 5.24659 18.3627 5.63718C21.8762 9.15167 21.8762 14.8487 18.3627 18.3632C17.9723 18.7538 17.9724 19.3869 18.3629 19.7774C18.7535 20.1679 19.3867 20.1678 19.7772 19.7772C24.0714 15.4817 24.0714 8.51867 19.7772 4.22318ZM8.46665 8.45768C8.85739 8.06737 8.85775 7.4342 8.46744 7.04346C8.07713 6.65272 7.44397 6.65237 7.05323 7.04268C5.73879 8.35565 5.00022 10.1373 5.00022 11.9952C5.00022 13.853 5.73879 15.6347 7.05323 16.9477C7.44397 17.338 8.07713 17.3376 8.46744 16.9469C8.85775 16.5561 8.85739 15.923 8.46665 15.5327C7.52777 14.5948 7.00022 13.3222 7.00022 11.9952C7.00022 10.6681 7.52777 9.39552 8.46665 8.45768ZM16.9467 7.05268C16.5559 6.66237 15.9227 6.66272 15.5324 7.05346C15.1421 7.4442 15.1425 8.07737 15.5332 8.46768C16.4721 9.40552 16.9997 10.6781 16.9997 12.0052C16.9997 13.3322 16.4721 14.6048 15.5332 15.5427C15.1425 15.933 15.1421 16.5661 15.5324 16.9569C15.9227 17.3476 16.5559 17.348 16.9467 16.9577C18.2611 15.6447 18.9997 13.863 18.9997 12.0052C18.9997 10.1473 18.2611 8.36565 16.9467 7.05268ZM12 9.00018C10.3431 9.00018 9 10.3433 9 12.0002C9 13.657 10.3431 15.0002 12 15.0002C13.6569 15.0002 15 13.657 15 12.0002C15 10.3433 13.6569 9.00018 12 9.00018ZM11 12.0002C11 11.4479 11.4477 11.0002 12 11.0002C12.5523 11.0002 13 11.4479 13 12.0002C13 12.5525 12.5523 13.0002 12 13.0002C11.4477 13.0002 11 12.5525 11 12.0002Z", fill: iconColor }) })); }; export { RadioIcon as default }; //# sourceMappingURL=RadioIcon.js.map