Skip to content

Commit

Permalink
fix: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Likang0122 committed Dec 3, 2024
1 parent 297d3e8 commit 7e411fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/tron/src/provider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
import { AntDesignWeb3ConfigProvider } from './config-provider';

export interface TronWeb3ConfigProviderProps {
wallets?: Wallet[];
wallets: Wallet[];
onError?: (error: Error) => void;
autoConnect?: boolean;
locale?: Locale;
Expand Down
6 changes: 3 additions & 3 deletions packages/web3/src/tron/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ You can check the wallets supported by Tron in the [tronwallet-adapter](https://
### TronWeb3ConfigProvider

| Property | Description | Type | Default | Required |
| --- | --- | --- | --- | --- | --- |
| wallets | Supported wallet list | WalletMetadata\[\] | - | - | Yes |
| autoConnect | 是否自动连接 | `boolean` | `false` | - |
| --- | --- | --- | --- | --- |
| wallets | Supported wallet list | WalletMetadata\[\] | - | Yes |
| autoConnect | Whether to connect automatically | `boolean` | `false` | - |
| locale | Multilingual settings | [Locale](https://github.com/ant-design/ant-design-web3/blob/main/packages/common/src/locale/en_US.ts) | - | - |
| onError | onError | [WalletError](https://github.com/web3-geek/tronwallet-adapter/blob/main/packages/adapters/abstract-adapter/src/errors.ts#L1) | - | - |

0 comments on commit 7e411fb

Please sign in to comment.