Application Android et IOS pour l'amicale des élèves https://play.google.com/store/apps/details?id=fr.amicaleinsat.application
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BasicLoadingScreen.js 859B

1234567891011121314151617181920212223242526272829303132333435
  1. // @flow
  2. import * as React from 'react';
  3. import {ActivityIndicator, withTheme} from 'react-native-paper';
  4. import {View} from "react-native";
  5. /**
  6. * Component used to display a header button
  7. *
  8. * @param props Props to pass to the component
  9. * @return {*}
  10. */
  11. function BasicLoadingScreen(props) {
  12. const {colors} = props.theme;
  13. return (
  14. <View style={{
  15. backgroundColor: colors.background,
  16. position: 'absolute',
  17. top: 0,
  18. right: 0,
  19. width: '100%',
  20. height: '100%',
  21. flex: 1,
  22. alignItems: 'center',
  23. justifyContent: 'center'
  24. }}>
  25. <ActivityIndicator
  26. animating={true}
  27. size={'large'}
  28. color={colors.primary}/>
  29. </View>
  30. );
  31. }
  32. export default withTheme(BasicLoadingScreen);