* Renders a loading indicator (spinner) that fits into available space (container)
| 7 | * Renders a loading indicator (spinner) that fits into available space (container) |
| 8 | */ |
| 9 | class LoadingIndicator extends PureComponent { |
| 10 | render() { |
| 11 | return ( |
| 12 | <View styleName="flexible vertical v-center"> |
| 13 | <View styleName="horizontal h-center"> |
| 14 | <Spinner /> |
| 15 | </View> |
| 16 | </View> |
| 17 | ); |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | const StyledLoadingIndicator = connectStyle('shoutem.ui.LoadingIndicator')( |
| 22 | LoadingIndicator, |
nothing calls this directly
no outgoing calls
no test coverage detected