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
Copy file name to clipboardExpand all lines: packages/thirdweb/src/react/web/ui/PayEmbed.tsx
+2-19Lines changed: 2 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -34,12 +34,12 @@ export type PayEmbedProps = {
34
34
* `supportedTokens` prop allows you to override this list as shown below.
35
35
*
36
36
* ```tsx
37
-
* import { ConnectButton } from 'thirdweb/react';
37
+
* import { PayEmbed } from 'thirdweb/react';
38
38
* import { NATIVE_TOKEN_ADDRESS } from 'thirdweb';
39
39
*
40
40
* function Example() {
41
41
* return (
42
-
* <ConnectButton
42
+
* <PayEmbed
43
43
* supportedTokens={{
44
44
* // Override the tokens for Base Mainnet ( chaid id 84532 )
45
45
* 84532: [
@@ -247,9 +247,6 @@ export type PayEmbedConnectOptions = {
247
247
/**
248
248
* Configurations for the `ConnectButton`'s Modal that is shown for connecting a wallet
249
249
* Refer to the [`ConnectButton_connectModalOptions`](https://portal.thirdweb.com/references/typescript/v5/ConnectButton_connectModalOptions) type for more details
@@ -334,10 +321,6 @@ export type PayEmbedConnectOptions = {
334
321
* - They will be displayed in the network selector in the `ConnectButton`'s details modal post connection
335
322
* - They will be sent to wallet at the time of connection if the wallet supports requesting multiple chains ( example: WalletConnect ) so that users can switch between the chains post connection easily
0 commit comments