import React, { useState } from 'react'; import { StyleSheet, Text, View } from 'react-native'; import { CustomIcon, TIconsName } from '../../CustomIcon'; import i18n from '../../../i18n'; import { isIOS } from '../../../lib/methods/helpers'; import { useTheme } from '../../../theme'; import sharedStyles from '../../../views/Styles'; import Button from '../../Button'; import { FormTextInput } from '../../TextInput/FormTextInput'; import { useActionSheet } from '../Provider'; const styles = StyleSheet.create({ subtitleText: { fontSize: 14, ...sharedStyles.textRegular, marginBottom: 10 }, buttonSeparator: { marginRight: 8 }, footerButtonsContainer: { flexDirection: 'row', paddingTop: 16 }, titleContainerText: { fontSize: 16, ...sharedStyles.textSemibold }, titleContainer: { paddingRight: 80, marginBottom: 16, flexDirection: 'row', alignItems: 'center' } }); const FooterButtons = ({ cancelAction = () => {}, confirmAction = () => {}, cancelTitle = '', confirmTitle = '', disabled = false, cancelBackgroundColor = '', confirmBackgroundColor = '' }): React.ReactElement => { const { colors } = useTheme(); return (