You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 30, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: docs/react.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,13 +27,18 @@ import { useCoinbaseWallet } from "@thirdweb-dev/react"
27
27
|[useContractPublishMetadata(contractAddress)](./react.usecontractpublishmetadata.md)| <b><i>(BETA)</i></b> Use this to get the publish metadata for a deployed contract. |
28
28
|[useContractType(contractAddress)](./react.usecontracttype.md)| <b><i>(BETA)</i></b> Use this to get the contract type for a (built-in or custom) contract. |
29
29
|[useCustomContract(contractAddress)](./react.usecustomcontract.md)| <b><i>(BETA)</i></b> Use this resolve a contract address to a thirdweb (built-in / custom) contract instance. |
30
-
| [useDisconnect()](./react.usedisconnect.md) | Hook for disconnecting the currently connected wallet
30
+
| [useDisconnect(options)](./react.usedisconnect.md) | Hook for disconnecting the currently connected wallet
|[useEdition(contractAddress)](./react.useedition.md)| Hook for getting an instance of an <code>Edition</code> contract. This contract is used to interface with ERC1155 compliant NFTs. |
36
36
|[useEditionDrop(contractAddress)](./react.useeditiondrop.md)| Hook for getting an instance of an <code>EditionDrop</code> contract. This conract is used to interface with ERC1155 compliant NFTs that can be lazily minted. |
37
+
| [useGnosis()](./react.usegnosis.md) | Hook for connecting to a Gnosis Safe. This enables multisig wallets to connect to your application and sing transactions.
38
+
```javascript
39
+
import { useGnosis } from"@thirdweb-dev/react"
40
+
```
41
+
|
37
42
| [useMagic()](./react.usemagic.md) | Hook for connecting to an email wallet using magic link. This enables users without their own wallets to connect to your application and sign transactions securely using their email.
// Warning: (ae-internal-missing-underscore) The name "GnosisConnectorType" should be prefixed with an underscore because the declaration is marked as @internal
155
+
//
156
+
//@internal (undocumented)
157
+
exporttypeGnosisConnectorType="gnosis"| {
158
+
name:"gnosis";
159
+
options:GnosisConnectorArguments;
160
+
};
161
+
154
162
// Warning: (ae-internal-missing-underscore) The name "InjectedConnectorType" should be prefixed with an underscore because the declaration is marked as @internal
155
163
//
156
164
//@internal (undocumented)
@@ -419,14 +427,25 @@ export function useCustomContract(contractAddress?: string): {
// Warning: (ae-internal-missing-underscore) The name "WalletConnector" should be prefixed with an underscore because the declaration is marked as @internal
// Warning: (ae-internal-missing-underscore) The name "WalletLinkConnectorType" should be prefixed with an underscore because the declaration is marked as @internal
0 commit comments