32 lines
No EOL
723 B
JavaScript
32 lines
No EOL
723 B
JavaScript
// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
|
|
// See License.txt for license information.
|
|
|
|
import React from 'react';
|
|
|
|
import {ActivityIndicator, StyleSheet, View} from 'react-native';
|
|
|
|
const styles = StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
justifyContent: 'center',
|
|
alignItems: 'center'
|
|
},
|
|
|
|
loading: {
|
|
marginLeft: 3
|
|
}
|
|
});
|
|
|
|
export default class Button extends React.Component {
|
|
render() {
|
|
return (
|
|
<View style={styles.container}>
|
|
<ActivityIndicator
|
|
style={styles.loading}
|
|
animating={true}
|
|
size='large'
|
|
/>
|
|
</View>
|
|
);
|
|
}
|
|
} |