components/auth/EmailRegister.tsx   A
last analyzed

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 14
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 13
dl 0
loc 14
rs 10
c 0
b 0
f 0
wmc 1
mnd 0
bc 0
fnc 1
bpm 0
cpm 1
noi 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A EmailRegister.tsx ➔ EmailRegister 0 7 1
1
import React from 'react';
2
import { useState, useEffect } from 'react';
3
import { ScrollView, Image, Text, View, StyleSheet, StatusBar, Dimensions, Pressable } from 'react-native';
4
import {SafeAreaView} from 'react-native-safe-area-context';
5
import EmailForm from './EmailForm';
6
7
export default function EmailRegister({setToken, navigation, setIsLoggedIn}): any {
8
9
    return (
10
        <SafeAreaView>
11
            <EmailForm navigation={navigation} setToken={setToken} setIsLoggedIn={setIsLoggedIn}></EmailForm>
12
        </SafeAreaView>
13
    )
14
};