import React, { useState, useEffect } from 'react';
import { Image, View, Text, ScrollView, StyleSheet } from 'react-native';
import { useTheme } from '@react-navigation/native';
import { SafeBlueArea, BlueLoading } from '../../BlueComponents';
import navigationStyle from '../../components/navigationStyle';
import loc from '../../loc';
const WalletsAddMultisigHelp = () => {
const [isLoading, setIsLoading] = useState(true);
const { colors } = useTheme();
const stylesHook = StyleSheet.create({
root: {
backgroundColor: colors.elevated,
},
intro: {
backgroundColor: colors.newBlue,
borderBottomColor: colors.inputBorderColor,
},
introTitle: {
color: colors.inverseForegroundColor,
},
introText: {
color: colors.inverseForegroundColor,
},
tipsTitle: {
color: colors.foregroundColor,
},
tipsText: {
color: colors.alternativeTextColor,
},
});
useEffect(() => {
setIsLoading(false);
}, []);
return isLoading ? (
) : (
{loc.multisig.ms_help_title}
{loc.multisig.ms_help_text}
{loc.multisig.ms_help_title1}
{loc.multisig.ms_help_1}
{loc.multisig.ms_help_title2}
{loc.multisig.ms_help_2}
{loc.multisig.ms_help_title3}
{loc.multisig.ms_help_3}
{loc.multisig.ms_help_title4}
{loc.multisig.ms_help_4}
{loc.multisig.ms_help_title5}
{loc.multisig.ms_help_5}
);
};
const styles = StyleSheet.create({
root: {
flex: 1,
},
intro: {
paddingHorizontal: 32,
borderBottomWidth: 1,
},
introTitle: {
fontSize: 32,
fontWeight: '700',
marginTop: 24,
},
introText: {
fontSize: 15,
marginVertical: 24,
},
introImage: {
flexDirection: 'row',
alignSelf: 'center',
justifyContent: 'flex-end',
},
tips: {
paddingHorizontal: 24,
paddingVertical: 24,
},
tipsTitle: {
fontSize: 22,
fontWeight: 'bold',
},
tipsText: {
fontSize: 14,
fontWeight: '500',
marginTop: 16,
},
imageTip: {
marginBottom: 24,
width: '100%',
maxWidth: 390,
},
});
WalletsAddMultisigHelp.navigationOptions = navigationStyle({
title: '',
gestureEnabled: false,
swipeEnabled: false,
headerStyle: {
backgroundColor: '#0070FF',
borderBottomWidth: 0,
borderBottomColor: '#0070FF',
elevation: 0,
shadowOffset: { height: 0, width: 0 },
},
headerTintColor: '#FFFFFF',
headerBackTitleVisible: false,
});
export default WalletsAddMultisigHelp;