Skip to content

Commit 4c732a8

Browse files
authored
Update sei-global-wallet.mdx
Condense code snippets into expandable panels.
1 parent 62dd304 commit 4c732a8

File tree

1 file changed

+26
-11
lines changed

1 file changed

+26
-11
lines changed

content/evm/sei-global-wallet.mdx

+26-11
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,14 @@ package in your project.
6666
3.**Use Sei Global Wallet**
6767
Your Sei Global Wallet is now ready to use within the project.
6868

69-
## Library Specific Examples
69+
## Integrating
7070

71-
Here are some examples of how to use Sei Global Wallet with some popular libraries: Dynamic, WalletConnect and RainbowKit.
71+
Global Wallet support can be added to your frontend easily, using several poppular libraries such as Dynamic, WalletConnect and RainbowKit.
7272

73-
### Dynamic
73+
<details>
74+
<summary>Dynamic</summary>
7475

75-
```tsx copy filename="layout.tsx"
76+
```tsx copy filename="layout.tsx"
7677
"use client";
7778

7879
import "./globals.css";
@@ -97,9 +98,14 @@ Here are some examples of how to use Sei Global Wallet with some popular librari
9798
</html>
9899
);
99100
}
100-
```
101-
### WalletConnectKit
102-
```tsx copy filename="main.tsx"
101+
```
102+
103+
</details>
104+
105+
<details>
106+
<summary>WalletConnectKit</summary>
107+
108+
```tsx copy filename="main.tsx"
103109
import { FC, PropsWithChildren, StrictMode } from "react";
104110
import { createRoot } from "react-dom/client";
105111
import "./index.css";
@@ -155,9 +161,16 @@ Here are some examples of how to use Sei Global Wallet with some popular librari
155161
</Web3Provider>
156162
</StrictMode>
157163
);
158-
```
159-
### RainbowKit
160-
```tsx copy filename="main.tsx"
164+
165+
```
166+
167+
</details>
168+
169+
170+
<details>
171+
<summary>RainbowKit</summary>
172+
173+
```tsx copy filename="main.tsx"
161174
import { StrictMode } from "react";
162175
import { createRoot } from "react-dom/client";
163176
import "./index.css";
@@ -194,7 +207,9 @@ Here are some examples of how to use Sei Global Wallet with some popular librari
194207
</WagmiProvider>
195208
</StrictMode>
196209
);
197-
```
210+
```
211+
212+
</details>
198213

199214
## FAQ
200215

0 commit comments

Comments
 (0)