Skip to content

Commit 08e213e

Browse files
devin-ai-integration[bot]TomTomrtomas
authored
docs: add hook import information to Pay with Exchange documentation (#693)
* docs: add hook import information to Pay with Exchange documentation Co-Authored-By: TomTom <tomtom@reown.com> * Update snippets/appkit/shared/appkit-pay-react.mdx * Update snippets/appkit/shared/appkit-pay-react.mdx * fix: properly close code block in hooks section Co-Authored-By: TomTom <tomtom@reown.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: TomTom <tomtom@reown.com> Co-authored-by: TomTom <rtomas@gmail.com>
1 parent bc2883f commit 08e213e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

snippets/appkit/shared/appkit-pay-react.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,12 @@ This setup allows you to safely verify both positive and negative exchange flows
195195

196196
## Hooks
197197

198+
199+
All the pay with exchanges hooks must be imported from `@reown/appkit-pay/react`. For example:
200+
```tsx
201+
import { useAvailableExchanges } from '@reown/appkit-pay/react';
202+
```
203+
198204
### useAvailableExchanges
199205
Fetches and manages the state for available exchanges.
200206

0 commit comments

Comments
 (0)