Skip to content

Commit 1d90437

Browse files
committed
Portal: Add SwapWidget in bridge/swap page (#8072)
<!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on updating the documentation for the `SwapWidget` component, simplifying the example code, and enhancing the user experience by adding new features and usage guidelines. ### Detailed summary - Added `DocImage` component to display `swap-dark.png`. - Simplified the swap interface example to use the `SwapWidget`. - Introduced a live playground section for the `SwapWidget`. - Added configuration options for default token selection in the widget. - Removed the complex swap interface code for clarity. - Included tips for gas optimization and route caching. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 59616d0 commit 1d90437

File tree

2 files changed

+73
-290
lines changed

2 files changed

+73
-290
lines changed

0 commit comments

Comments
 (0)