app/components/UI/TransactionActionModal/TransactionActionContent/index.js
/**
 * View that renders a modal to be used for speed up or cancel transaction modal
 */
View that renders a modal to be used for speed up or cancel transaction modal
View that renders a modal to be used for speed up or cancel transaction modal
function TransactionActionContent({
	confirmDisabled,
	feeText,
	titleText,
	gasTitleText,
	descriptionText
}) {
	return (
		<View style={styles.modalView}>
			<Text style={styles.modalTitle}>{titleText}</Text>
			<Text style={styles.gasTitle}>{gasTitleText}</Text>
			<View style={styles.feeWrapper}>
				<Text style={styles.fee}>{feeText}</Text>
			</View>
			<Text style={styles.modalText}>{descriptionText}</Text>
			{confirmDisabled && <Text style={styles.warningText}>{strings('transaction.insufficient')}</Text>}
		</View>
	);
}
function TransactionActionContent ( { confirmDisabled , feeText , titleText , gasTitleText , descriptionText } ) { return ( < View style = { styles . modalView } > < Text style = { styles . modalTitle } > { titleText } < / Text > < Text style = { styles . gasTitle } > { gasTitleText } < / Text > < View style = { styles . feeWrapper } > < Text style = { styles . fee } > { feeText } < / Text > < / View > < Text style = { styles . modalText } > { descriptionText } < / Text > { confirmDisabled && < Text style = { styles . warningText } > { strings ( 'transaction.insufficient' ) } < / Text > } < / View > ) ; }
View that renders a modal to be used for speed up or cancel transaction modal
View that renders a modal to be used for speed up or cancel transaction modal