import {StyleSheet, Text, View} from 'react-native'; import React, {useState} from 'react'; import PrimaryOutlineButton from '../components/organisms/Buttons/PrimaryOutlineButton'; import NewscoutTitleHeader from '../components/organisms/Headers/NewscoutTitleHeader'; import {List, Switch} from 'react-native-paper'; import fonts from '../theme/fonts'; const SecurityPage = props => { const {navigation} = props; // States const [faceIdStatus, setFaceIdStatus] = useState(false); const [rememberMeStatus, setRememberMeStatus] = useState(false); const [touchIdStatus, setTouchIdStatus] = useState(false); return ( navigation.goBack()} /> ( setFaceIdStatus(!faceIdStatus)} /> )} /> ( setRememberMeStatus(!rememberMeStatus)} /> )} /> setTouchIdStatus(!touchIdStatus)} />} /> ); }; export default SecurityPage; const styles = StyleSheet.create({ listItemText: { fontFamily: fonts.type.medium, }, listItem: { height: 64, justifyContent: 'center', }, });