The properties object.
The child components to be rendered within the provider.
The client instance for interacting with the swap panel.
OptionaldefaultTheme?: ThemeThe default theme for the widget, either "dark" or "light".
OptionalonClickConnect?: () => voidCallback function to handle the connect button click event.
OptionalonHide?: () => voidCallback function to handle the widget hide event.
OptionalonReady?: (cb: () => void) => voidCallback function to handle the widget ready event.
OptionalonShow?: () => voidCallback function to handle the widget show event.
Callback function to handle transaction signing.
OptionalonSwapSuccess?: (event: SwapSuccessEvent) => voidCallback function to handle the swap success event.
Optionaloperator?: stringThe operator's address.
The NaviWidgetProvider component that wraps its children with the NaviWidgetContext provider.
NaviWidgetProvider component that provides context and manages the state and events for the Navi widget.