This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
Sphere/app/components/login/token-help.js

55 lines
1.1 KiB
JavaScript
Raw Normal View History

2016-02-02 22:26:55 +00:00
import React from 'react-native';
import GlobalStyles from '../../settings/styles';
import Modal from 'react-native-modalbox';
const {
StyleSheet,
Text,
View
} = React;
const styles = StyleSheet.create({
modal: {
justifyContent: 'center',
alignItems: 'center',
backgroundColor: GlobalStyles.get('CIRCLE_GREY_DARK'),
height: 300
},
title: {
fontSize: 18,
color: 'white'
},
text: {
fontSize: 13,
color: 'white'
},
modalView: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
}
});
export default class Login extends React.Component {
render() {
return (
<Modal
isOpen={this.props.open}
style={styles.modal}
backdrop={true}>
<View style={styles.modalView}>
<Text style={styles.title}>
What is a token?
</Text>
<Text style={styles.text}>
A token is a thing.
</Text>
</View>
<Text style={styles.text}>
Swipe down to dismiss
</Text>
</Modal>
);
}
};