Connection.Provider
component manages connection state and provides context for all connection-related components. It provides:
- Centralized connection state management
- Translation context for internationalization
- Session token management
- Connection data sharing
Installation
Usage
Props
The session token used to identify and manage the connection.
The child components that will have access to the connection context.
Context Values
The connection context provides:sessionToken
: The current session tokent
: The translation function if providedsettings
: Any connection settingsstatus
: The current connection status
Internationalization
The provider supports translation keys for:- Connection status messages
- Action buttons
- Error messages
- UI elements