File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import {
12
12
import { AntDesignWeb3ConfigProvider } from './config-provider' ;
13
13
14
14
export interface TronWeb3ConfigProviderProps {
15
- wallets : Wallet [ ] ;
15
+ wallets ? : Wallet [ ] ;
16
16
onError ?: ( error : Error ) => void ;
17
17
autoConnect ?: boolean ;
18
18
locale ?: Locale ;
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ You can check the wallets supported by Tron in the [tronwallet-adapter](https://
40
40
41
41
| Property | Description | Type | Default | Required |
42
42
| --- | --- | --- | --- | --- |
43
- | wallets | Supported wallet list | WalletMetadata\[\] | - | Yes |
43
+ | wallets | Supported wallet list | WalletMetadata\[\] | - | - |
44
44
| autoConnect | Whether to connect automatically | ` boolean ` | ` false ` | - |
45
45
| locale | Multilingual settings | [ Locale] ( https://github.com/ant-design/ant-design-web3/blob/main/packages/common/src/locale/en_US.ts ) | - | - |
46
46
| onError | onError | [ WalletError] ( https://github.com/web3-geek/tronwallet-adapter/blob/main/packages/adapters/abstract-adapter/src/errors.ts#L1 ) | - | - |
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ Tron 支持的钱包可以在 [tronwallet-adapter](https://github.com/web3-geek/
41
41
42
42
| 属性 | 描述 | 类型 | 默认值 | 是否必填 |
43
43
| --- | --- | --- | --- | --- |
44
- | wallets | 可用的钱包 | WalletFactory\[\] | - | 必填 |
44
+ | wallets | 可用的钱包 | WalletFactory\[\] | - | - |
45
45
| autoConnect | 是否自动连接 | ` boolean ` | ` false ` | - |
46
46
| locale | 多语言设置 | [ Locale] ( https://github.com/ant-design/ant-design-web3/blob/main/packages/common/src/locale/zh_CN.ts ) | - | - |
47
47
| onError | 异常方法 | [ WalletError] ( https://github.com/web3-geek/tronwallet-adapter/blob/main/packages/adapters/abstract-adapter/src/errors.ts#L1 ) | - | - |
You can’t perform that action at this time.
0 commit comments