import { useState, useEffect } from "react";
import { Box, Typography, FormControl, OutlinedInput, InputLabel } from "@mui/material";
import { BridgeGhostAddressCard } from "./BridgeGhostAddress";
import Modal from "../../components/Modal/Modal";
export const BridgeInSettingsModal = ({ isOpen, onClose, decimals, setDecimals, receiver, setReceiver }) => {
return (
Bridge-In Settings}
open={isOpen}
onClose={onClose}
minHeight={"100px"}
>
Decimal representation
setDecimals(event.currentTarget.value)}
endAdornment="decimals"
/>
Number of decimals to be shown in token balances
Destination address
Custom recipient address of bridged assets
)
}
export const BridgeOutSettingsModal = ({
isOpen,
onClose,
decimals,
setDecimals,
receiver,
setReceiver,
allocation,
setAllocation,
nativeSymbol
}) => {
return (
Bridge-Out Settings}
open={isOpen}
onClose={onClose}
minHeight={"100px"}
>
{nativeSymbol} allocation
setAllocation(event.currentTarget.value)}
endAdornment="%"
/>
Bridge-Out share converted to {nativeSymbol}
Decimal representation
setDecimals(event.currentTarget.value)}
endAdornment="decimals"
/>
Number of decimals to be shown in token balances
Custom destination address
Recipient address of bridged-out assets
)
}