SatelliteConnectProviderProps
Defined in: satellite-react/src/providers/SatelliteConnectProvider.tsx:13
Props of SatelliteConnectProvider: the store parameters (adapter, one adapter or an array, and the optional
callbackAfterConnected and rememberWallet, see SatelliteConnectStoreInitialParameters from
@tuwaio/satellite-core) plus the fields below.
Extends
Properties
autoConnect?
optionalautoConnect?:boolean
Defined in: satellite-react/src/providers/SatelliteConnectProvider.tsx:20
Whether to reconnect the last connected wallet after a page load (read on the first render only). Defaults to
false. See initializeAutoConnect of the store.
callbackAfterConnected?
optionalcallbackAfterConnected?:ConnectedCallback<Connection>
Defined in: satellite-core/src/types.ts:492
Runs after a new wallet is connected. See ConnectedCallback.
Inherited from
SatelliteConnectStoreInitialParameters.callbackAfterConnected
children
children:
ReactNode
Defined in: satellite-react/src/providers/SatelliteConnectProvider.tsx:15
Components that can read the store.
rememberWallet?
optionalrememberWallet?:boolean
Defined in: satellite-core/src/types.ts:497
The initial rememberWallet of the store: false saves connections in sessionStorage until the user asks to
remember the wallet. Defaults to true (localStorage). Read once, when the store is created.
Inherited from
SatelliteConnectStoreInitialParameters.rememberWallet