import { Box, Button, Typography } from "@mui/material"; import SendIcon from "@mui/icons-material/Send"; import { useState } from "react"; import { SatsAmount } from "renderer/components/other/Units"; import { useAppSelector } from "store/hooks"; import BitcoinIcon from "../../icons/BitcoinIcon"; import InfoBox from "../swap/swap/components/InfoBox"; import WithdrawDialog from "../../modal/wallet/WithdrawDialog"; import WalletRefreshButton from "./WalletRefreshButton"; export default function WithdrawWidget() { const walletBalance = useAppSelector((state) => state.bitcoinWallet.balance); const [showDialog, setShowDialog] = useState(false); function onShowDialog() { setShowDialog(true); } return ( <> Wallet Balance } mainContent={ } icon={} additionalContent={ } loading={false} /> setShowDialog(false)} /> ); }