/** @type {AppStorage} */ import React, { Component } from 'react'; import Ionicons from 'react-native-vector-icons/Ionicons'; import { Icon, Button, FormLabel, FormInput, Text, Header, List, ListItem } from 'react-native-elements'; import { TouchableOpacity, ActivityIndicator, View, StyleSheet, Dimensions, Image, SafeAreaView, Clipboard, Platform } from 'react-native'; import LinearGradient from 'react-native-linear-gradient'; import { WatchOnlyWallet, LegacyWallet } from './class'; import Carousel from 'react-native-snap-carousel'; import DeviceInfo from 'react-native-device-info'; import { HDLegacyP2PKHWallet } from './class/hd-legacy-p2pkh-wallet'; import { HDLegacyBreadwalletWallet } from './class/hd-legacy-breadwallet-wallet'; import { HDSegwitP2SHWallet } from './class/hd-segwit-p2sh-wallet'; import { LightningCustodianWallet } from './class/lightning-custodian-wallet'; let loc = require('./loc/'); /** @type {AppStorage} */ let BlueApp = require('./BlueApp'); const { height, width } = Dimensions.get('window'); const aspectRatio = height / width; let isIpad; if (aspectRatio > 1.6) { isIpad = false; } else { isIpad = true; } export class BlueButton extends Component { render() { // eslint-disable-next-line this.props.buttonStyle = this.props.buttonStyle || {}; return (