Skip to content
This repository was archived by the owner on Aug 30, 2022. It is now read-only.

Commit 11cfdc9

Browse files
committed
export usesplit
1 parent 2616cc2 commit 11cfdc9

File tree

4 files changed

+29
-0
lines changed

4 files changed

+29
-0
lines changed

docs/react.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
| [useReadonlySDK(readonlyRpcUrl, sdkOptions, storageInterface)](./react.usereadonlysdk.md) | |
2626
| [useSDK()](./react.usesdk.md) | |
2727
| [useSigner()](./react.usesigner.md) | |
28+
| [useSplit(moduleAddress)](./react.usesplit.md) | |
2829
| [useToken(moduleAddress)](./react.usetoken.md) | |
2930
| [useVote(moduleAddress)](./react.usevote.md) | |
3031
| [useWalletConnect()](./react.usewalletconnect.md) | |

docs/react.usesplit.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@thirdweb-dev/react](./react.md) &gt; [useSplit](./react.usesplit.md)
4+
5+
## useSplit() function
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
export declare function useSplit(moduleAddress?: string): Split | undefined;
11+
```
12+
13+
## Parameters
14+
15+
| Parameter | Type | Description |
16+
| --- | --- | --- |
17+
| moduleAddress | string | |
18+
19+
<b>Returns:</b>
20+
21+
Split \| undefined
22+

etc/react.api.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,11 @@ export function useSDK(): ThirdwebSDK | undefined;
255255
// @public (undocumented)
256256
export function useSigner(): Signer_2 | undefined;
257257

258+
// Warning: (ae-forgotten-export) The symbol "Split" needs to be exported by the entry point index.d.ts
259+
//
260+
// @public (undocumented)
261+
export function useSplit(moduleAddress?: string): Split | undefined;
262+
258263
// Warning: (ae-forgotten-export) The symbol "Token" needs to be exported by the entry point index.d.ts
259264
//
260265
// @public (undocumented)

src/hooks/modules/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ export * from "./useNFTCollection";
77
export * from "./usePack";
88
export * from "./useTokenModule";
99
export * from "./useVoteModule";
10+
export * from "./useSplit";

0 commit comments

Comments
 (0)