MCPcopy Create free account
hub / github.com/shoutem/ui / renderRetryButton

Method renderRetryButton

components/EmptyStateView.js:23–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 }
22
23 renderRetryButton() {
24 const { retryButtonTitle } = this.props;
25
26 // Show retry button at the bottom only if there is an onRetry action passed
27 return (
28 <View styleName="horizontal anchor-bottom">
29 <Button styleName="full-width" onPress={this.onRetry}>
30 <Text>{retryButtonTitle}</Text>
31 </Button>
32 </View>
33 );
34 }
35
36 render() {
37 const { icon, message, onRetry, ...otherProps } = this.props;

Callers 1

renderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected