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 FigmaIcon = function FigmaIcon(_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: "M8.75 2C7.68913 2 6.67172 2.42143 5.92157 3.17157C5.17143 3.92172 4.75 4.93913 4.75 6C4.75 7.06087 5.17143 8.07828 5.92157 8.82843C5.98083 8.88768 6.04176 8.94489 6.10424 9C6.04176 9.05511 5.98083 9.11232 5.92157 9.17157C5.17143 9.92172 4.75 10.9391 4.75 12C4.75 13.0609 5.17143 14.0783 5.92157 14.8284C6.01786 14.9247 6.11855 15.0156 6.22318 15.1008C5.72868 15.5391 5.33786 16.0855 5.08303 16.7008C4.7519 17.5002 4.66526 18.3799 4.83407 19.2285C5.00288 20.0772 5.41956 20.8567 6.03141 21.4686C6.64326 22.0804 7.42281 22.4971 8.27148 22.6659C9.12015 22.8347 9.99982 22.7481 10.7992 22.417C11.5987 22.0858 12.2819 21.5251 12.7627 20.8056C13.2434 20.0862 13.5 19.2403 13.5 18.375V15.4649C14.0883 15.8052 14.7714 16 15.5 16C17.7091 16 19.5 14.2091 19.5 12C19.5 10.8053 18.9762 9.73292 18.1458 8.99997C18.2083 8.94487 18.2692 8.88768 18.3284 8.82843C19.0786 8.07828 19.5 7.06087 19.5 6C19.5 4.93913 19.0786 3.92172 18.3284 3.17157C17.5783 2.42143 16.5609 2 15.5 2H8.75ZM11.5 16H9.125C8.65527 16 8.19609 16.1393 7.80552 16.4003C7.41496 16.6612 7.11055 17.0322 6.93079 17.4661C6.75103 17.9001 6.704 18.3776 6.79564 18.8383C6.88728 19.299 7.11347 19.7222 7.44562 20.0544C7.77777 20.3865 8.20096 20.6127 8.66166 20.7044C9.12237 20.796 9.5999 20.749 10.0339 20.5692C10.4679 20.3895 10.8388 20.085 11.0997 19.6945C11.3607 19.3039 11.5 18.8447 11.5 18.375V16ZM11.5 14V10H8.75C8.21957 10 7.71086 10.2107 7.33579 10.5858C6.96071 10.9609 6.75 11.4696 6.75 12C6.75 12.5304 6.96071 13.0391 7.33579 13.4142C7.71086 13.7893 8.21957 14 8.75 14H11.5ZM11.5 8H8.75C8.21957 8 7.71086 7.78929 7.33579 7.41421C6.96071 7.03914 6.75 6.53043 6.75 6C6.75 5.46957 6.96071 4.96086 7.33579 4.58579C7.71086 4.21071 8.21957 4 8.75 4H11.5V8ZM15.5 14C14.3954 14 13.5 13.1046 13.5 12C13.5 10.8954 14.3954 10 15.5 10C16.6046 10 17.5 10.8954 17.5 12C17.5 13.1046 16.6046 14 15.5 14ZM13.5 8H15.5C16.0304 8 16.5391 7.78929 16.9142 7.41421C17.2893 7.03914 17.5 6.53043 17.5 6C17.5 5.46957 17.2893 4.96086 16.9142 4.58579C16.5391 4.21071 16.0304 4 15.5 4H13.5V8Z", fill: iconColor }) })); }; export { FigmaIcon as default }; //# sourceMappingURL=FigmaIcon.js.map