Your application components
true if pending queue is enabled, otherwise false. Can be used prevent
offline submissions from being processed.
OptionalsuccessWhen a submission is processed successfully the
isShowingSuccessNotification will be temporarily set to true, it will
be set back to false after 5 seconds. This prop will allow you to
customise how long to wait before hiding the notification with a
milliseconds value.
React Component that provides the context for the
usePendingSubmissions()hook to be used by components further down your component tree. It should only be included in your component tree once and ideally at the root of the application.Example