Skip to content

Commit a1abdb9

Browse files
committed
fix: remove incorrect disableOnramp documentation
1 parent 43ca3c7 commit a1abdb9

File tree

2 files changed

+0
-28
lines changed

2 files changed

+0
-28
lines changed

packages/thirdweb/src/react/web/ui/Bridge/CheckoutWidget.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -198,17 +198,6 @@ type UIOptionsResult =
198198
* />
199199
* ```
200200
*
201-
* ### Enable/Disable payment methods
202-
*
203-
* You can use `disableOnramps` to prevent the use of onramps in the widget.
204-
*
205-
* ```tsx
206-
* <CheckoutWidget
207-
* client={client}
208-
* disableOnramps
209-
* />
210-
* ```
211-
*
212201
* ### Customize the UI
213202
*
214203
* You can customize the UI of the `CheckoutWidget` component by passing a custom theme object to the `theme` prop.

packages/thirdweb/src/react/web/ui/Bridge/TransactionWidget.tsx

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -201,23 +201,6 @@ type UIOptionsResult =
201201
* />
202202
* ```
203203
*
204-
* ### Enable/Disable payment methods
205-
*
206-
* You can use `disableOnramps` to prevent the use of onramps in the widget.
207-
*
208-
* ```tsx
209-
* <TransactionWidget
210-
* client={client}
211-
* transaction={prepareTransaction({
212-
* to: "0x...",
213-
* chain: ethereum,
214-
* client: client,
215-
* value: toUnits("0.001", 18),
216-
* })}
217-
* disableOnramps
218-
* />
219-
* ```
220-
*
221204
* ### Customize the UI
222205
*
223206
* You can customize the UI of the `TransactionWidget` component by passing a custom theme object to the `theme` prop.

0 commit comments

Comments
 (0)