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

Class LoadingIndicator

components/LoadingIndicator.js:9–19  ·  view source on GitHub ↗

* Renders a loading indicator (spinner) that fits into available space (container)

Source from the content-addressed store, hash-verified

7 * Renders a loading indicator (spinner) that fits into available space (container)
8 */
9class 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
21const StyledLoadingIndicator = connectStyle('shoutem.ui.LoadingIndicator')(
22 LoadingIndicator,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected