We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/reown-com/appkit/blob/main/packages/appkit/src/library/react/index.ts
When I declare this function
const handleSwap = async () => { await open({ view: 'Swap', }); };
There is a type error:
Type '"Swap"' is not assignable to type '"Account" | "Connect" | "Networks" | "ApproveTransaction" | "OnRampProviders"'.ts(23
But the document shows that 'Swap' can be used.
ParametersYou can also select the modal's view when calling the open functionopen({ view: 'Account' })List of views you can select
You can also select the modal's view when calling the open function
open
open({ view: 'Account' })
List of views you can select
"@reown/appkit": "^1.5.3", "@reown/appkit-adapter-wagmi": "^1.5.3",
v20.14.0
pnpm@8.15.4
The text was updated successfully, but these errors were encountered:
@jackleeio sounds like this is a feature request? You want to be able to open the swap view? View did you declare as bug?
Either way - assigning to @Sam-Newman for prioritization
Sorry, something went wrong.
https://linear.app/reown/issue/APKT-1485/expand-modal-open-options-beyond-vue-and-react
No branches or pull requests
Link to minimal reproducible example
https://github.com/reown-com/appkit/blob/main/packages/appkit/src/library/react/index.ts
Summary
When I declare this function
There is a type error:
But the document shows that 'Swap' can be used.
List of related npm package versions
Node.js Version
v20.14.0
Package Manager
pnpm@8.15.4
The text was updated successfully, but these errors were encountered: