Skip to content

feat: add helpers for tappable links - #23

Closed
AbhishekChorotiya wants to merge 1 commit into
mainfrom
feat/message-content-helpers
Closed

AbhishekChorotiya wants to merge 1 commit into
mainfrom
feat/message-content-helpers

Conversation

@AbhishekChorotiya

@AbhishekChorotiya AbhishekChorotiya commented Dec 2, 2026 •

Copy link
Copy Markdown

Summary

  • Export MessageElement.action({ label, onClick, style }) and the messageContent tagged template, matching the React Native merchant API.
  • Add usage documentation and rebuild the ESM/CJS bundles.
  • Keep this release JavaScript-only; no TypeScript declarations are added.

Integration

Companion Web SDK PR: juspay/hyperswitch-web#1903

Requires those renderer and callback-dispatch changes. Pass paymentMethodsConfig to elements.create("payment", options).

Verification

  • npm run build passed.
  • Focused checks against both ESM and CJS exports passed for callbacks, styles, shallow-copy behavior, interpolation, empty strings, and input validation.
  • git diff --check passed.

Reference

@AbhishekChorotiya AbhishekChorotiya changed the title feat: add payment message action helpers feat: add helpers for tappable links Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant