The component props
The ping function to check online status
The child components to render when online
Callback function to be called when online
Callback function to be called when offline
The component to render when offline
The fallback component to render when an error occurs
Indicates if an error should be thrown when an error occurs during ping
The delay between consecutive pings (in milliseconds)
The payload object to be passed to the ping function
PingView component for checking online status using a ping function. Renders children when online, displays offline component when offline.