From 3615ef2418945b1d2fe8bef7d5ae644fc1de7945 Mon Sep 17 00:00:00 2001 From: Chase Fleming <1666730+chasefleming@users.noreply.github.com> Date: Wed, 19 Nov 2025 11:22:21 -0800 Subject: [PATCH] Add notes to docs --- docs/build/tools/react-sdk/components.md | 8 ++++++++ docs/build/tools/react-sdk/hooks.md | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/docs/build/tools/react-sdk/components.md b/docs/build/tools/react-sdk/components.md index aab3aad50b..99a05438fc 100644 --- a/docs/build/tools/react-sdk/components.md +++ b/docs/build/tools/react-sdk/components.md @@ -38,6 +38,10 @@ A drop-in wallet connection component with UI for copy address, logout, and bala - `scheduledTransactions.filterHandlerTypes?: string[]` – Optional array of handler type identifiers to filter displayed transactions - `modalEnabled?: boolean` – Whether to show the profile modal on click when connected (default: `true`). When `false`, clicking the button when connected will disconnect instead +:::note WalletConnect Support +To enable WalletConnect as a wallet option, add your registered project ID to the `walletconnectProjectId` field in your `FlowProvider` config. +::: + ```tsx import { Connect } from "@onflow/react-sdk" @@ -81,6 +85,10 @@ A standalone component for displaying wallet information including account addre - `className?: string` – Optional custom CSS class - `style?: React.CSSProperties` – Optional inline styles +:::note WalletConnect Support +To enable WalletConnect as a wallet option, add your registered project ID to the `walletconnectProjectId` field in your `FlowProvider` config. +::: + ```tsx import { Profile } from "@onflow/react-sdk" diff --git a/docs/build/tools/react-sdk/hooks.md b/docs/build/tools/react-sdk/hooks.md index 64fb098409..c67a1a61c0 100644 --- a/docs/build/tools/react-sdk/hooks.md +++ b/docs/build/tools/react-sdk/hooks.md @@ -34,6 +34,10 @@ import { useFlowCurrentUser } from "@onflow/react-sdk" - `authenticate: () => Promise` – Triggers wallet authentication - `unauthenticate: () => void` – Logs the user out +:::note WalletConnect Support +To enable WalletConnect as a wallet option, add your registered project ID to the `walletconnectProjectId` field in your `FlowProvider` config. +::: + ```tsx function AuthComponent() { const { user, authenticate, unauthenticate } = useFlowCurrentUser()