From 3b1ed73d07eb401e4554c12f889844a98e1a98e5 Mon Sep 17 00:00:00 2001 From: Kien Ngo Date: Sat, 4 Jan 2025 05:39:00 +0700 Subject: [PATCH] TOOL-2831 - Update docs for showTestnetFaucet (#5868) --- .../react/core/hooks/connection/ConnectButtonProps.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/thirdweb/src/react/core/hooks/connection/ConnectButtonProps.ts b/packages/thirdweb/src/react/core/hooks/connection/ConnectButtonProps.ts index e1e5cbd3520..80286ae2274 100644 --- a/packages/thirdweb/src/react/core/hooks/connection/ConnectButtonProps.ts +++ b/packages/thirdweb/src/react/core/hooks/connection/ConnectButtonProps.ts @@ -216,10 +216,15 @@ export type ConnectButton_detailsModalOptions = { /** * Show a "Request Testnet funds" link in `ConnectButton` Details Modal when user is connected to a testnet. * - * By default it is `false`, If you want to show the "Request Testnet funds" link when user is connected to a testnet, set this prop to `true` + * By default it is `false`, If you want to show the "Request Testnet funds" link when user is connected to a testnet, set this prop to `true`. + * Keep in mind that the link will only be shown if there are faucet links registered with the chain. * @example * ```tsx - * + * * ``` */ showTestnetFaucet?: boolean;