From da54a36879737fdc4ef82783219e499e4e5a6903 Mon Sep 17 00:00:00 2001 From: Kien Ngo Date: Wed, 20 Sep 2023 10:27:16 -0400 Subject: [PATCH] Add hideTestnetFaucet option to ConnectWallet button (#818) * ConnectWallet Button: hideTestnetFaucet * Update for react native --------- Signed-off-by: ciaranightingale <52419674+ciaranightingale@users.noreply.github.com> Co-authored-by: ciaranightingale <52419674+ciaranightingale@users.noreply.github.com> --- docs/react-native/ui-components/ConnectWallet.mdx | 10 ++++++++++ docs/react/ui-components/ConnectWallet.mdx | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/docs/react-native/ui-components/ConnectWallet.mdx b/docs/react-native/ui-components/ConnectWallet.mdx index 274b12da8..9ee4332d2 100644 --- a/docs/react-native/ui-components/ConnectWallet.mdx +++ b/docs/react-native/ui-components/ConnectWallet.mdx @@ -94,3 +94,13 @@ function App() { ); } ``` + +### hideTestnetFaucet (optional) + +Hide option to request testnet funds for testnets in dropdown + +```jsx + +``` \ No newline at end of file diff --git a/docs/react/ui-components/ConnectWallet.mdx b/docs/react/ui-components/ConnectWallet.mdx index 52da61e94..df062830a 100644 --- a/docs/react/ui-components/ConnectWallet.mdx +++ b/docs/react/ui-components/ConnectWallet.mdx @@ -245,6 +245,16 @@ Specify where should the dropdown menu open relative to the Connect Wallet Butto /> ``` +### hideTestnetFaucet (optional) + +Hide option to request testnet funds for testnets in dropdown + +```jsx + +``` + ### Show "Terms of Service" and/or "Privacy Policy" links You can show a "Terms of Service" and/or "Privacy Policy" link in the ConnectWallet Modal by passing the `termsOfServiceUrl` and/or `privacyPolicyUrl` props