Skip to main content

TryAgain

Content

Simple try again screen-like message with the try again button. Used primarily in FlatListWrapper and SectionListWrapper.

Params

NameTypeRequiredDefault valueDescription
onPress() => voidFalseUndefinedOn try again press callback
errorTextstringFalselocalization.errors.unknownErrorHasOccurredError text

Usage example

  <TryAgain onPress={tryAgain} errorText={error || localization.errors.listErrorTitle} />