UNPKG

@razorpay/blade

Version:

The Design System that powers Razorpay

16 lines (14 loc) 487 B
function reduxDevtoolsJsonStringifyReplacer(key, value) { if (value instanceof HTMLElement) { return "HTMLElement <".concat(value.tagName, " class=\"").concat(value.className, "\">"); } if (value === window) { return 'global.window'; } if (key === 'children' && typeof value === 'object' && value !== null) { return '<<CHILDREN>>'; } return value; } export { reduxDevtoolsJsonStringifyReplacer }; //# sourceMappingURL=reduxDevtoolsJsonStringifyReplacer.js.map