Skip to main content

ConnectionStatusBar

<ConnectionStatusBar onConnectionChange={() => console.log('connection changed')}/>
APIThis is the list of additional props for the component

allowDismiss
boolean

Whethere to allow the user to dismiss

label
string

Text to show as the status. Default is No internet. Check your connection.

onConnectionChange
(isConnected: boolean, isInitial: boolean) => void

Handler to get connection change events propagation

useAbsolutePosition
boolean

Use absolute position for the component. Default is true