Commit b7b1d02
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 swap interface example, and enhancing user guidance on configuring default token selections.
### Detailed summary
- Added `DocImage` component to display `swap-dark.png`.
- Updated the swap interface example to use `SwapWidget`.
- Simplified the example function to `Example`.
- Provided instructions for configuring default token selections.
- Included code snippets for various default configurations.
- Removed the detailed implementation of the previous swap interface.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->1 parent 32980f8 commit b7b1d02
2 files changed
+73
-290
lines changed
0 commit comments