From 74b489a98d9595962cd90018f9d1a291b1eaabe1 Mon Sep 17 00:00:00 2001 From: Kien Ngo Date: Wed, 1 Jan 2025 23:03:48 +0700 Subject: [PATCH] TOOL-2831 - Update docs for showTestnetFaucet --- .../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;