ConnectionStatusBar
Top bar to show a 'no internet' connection status
(code example)
note
Run on real device for best results,The component requires installing the '@react-native-community/netinfo' native library
#
Usage<ConnectionStatusBar onConnectionChange={() => console.log('connection changed')}/>
#
API#
allowDismissWhethere to allow the user to dismiss
boolean
#
labelText to show as the status
string
#
onConnectionChangeHandler to get connection change events propagation
(isConnected: boolean, isInitial: boolean) => void
#
useAbsolutePositionUse absolute position for the component
boolean