# All files / atlas/src/components/Auth/Registration RegistrationResult.js

66.67% Statements 2/3
100% Branches 0/0
0% Functions 0/1
66.67% Lines 2/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52

    3x

    3x

     import React from 'react';
    import { Dimensions, StyleSheet, TouchableOpacity } from 'react-native';
    import 'react-native-get-random-values';
    import { Text } from 'react-native-paper';

    const RegisterResult = ({finish}) => {
        return (
          <TouchableOpacity onPress={finish} style={styles.nextBtn} >
              <Text style={{ color: 'white', fontSize: 20 }}>Okay</Text>
          </TouchableOpacity>
      )
    }

    const styles = StyleSheet.create({
        container: {
          position: 'absolute',
          width: Dimensions.get('window').width,
          height: Dimensions.get('window').height,
          flex: 1,
          flexDirection: 'column',
          resizeMode: 'cover',
        },

        brandContainer: {
          marginTop: 70,
          height: 50,
          marginBottom: 70,
          marginLeft: 25,
          flexDirection: 'column',
          justifyContent: 'space-evenly'
        },

        title: {

          color: 'white',
          fontSize: 20,
        },

        nextBtn: {
          marginHorizontal: 20,
          marginTop: 50,
          borderRadius: 50,
          justifyContent: 'center',
          backgroundColor: '#df3f3f',
          margin: 5,
          height: 50,
          alignItems: 'center'
        },
      })

    export default RegisterResult;