import React from 'react-native'; import GlobalStyles from '../../settings/styles'; import Modal from 'react-native-modalbox'; const { StyleSheet, Text, View, TouchableWithoutFeedback } = React; const styles = StyleSheet.create({ modal: { justifyContent: 'center', alignItems: 'center', backgroundColor: GlobalStyles.get('CIRCLE_NAVBAR_BG'), height: 200 }, title: { fontSize: 18, color: GlobalStyles.get('CIRCLE_NAVBAR_TEXT'), }, text: { fontSize: 13, color: GlobalStyles.get('CIRCLE_NAVBAR_TEXT'), margin: 2, textAlign: 'center' }, dismiss: { fontSize: 12, padding: 5 }, modalView: { flex: 1, justifyContent: 'center', alignItems: 'center', padding: 10 } }); export default class Login extends React.Component { hide() { this.refs.modal.close(); } render() { return ( What is a token? A token is the identifier used to authenticate with CircleCI and let Sphere interact your account. To generate a new token, visit your CircleCI accounts page. Swipe down to dismiss ); } };