import { Box } from "@mui/material"; import { Typography } from "../Atoms/Typography"; import CopyButton from "../Atoms/CopyButton"; import { correctVoteAdaFormat } from "../../lib/utils"; import { useTranslation } from "../../contexts/I18nContext"; type Props = { receivingAddress: string; amount: number; }; export const GovernanceActionCardTreasuryWithdrawalElement = ({ receivingAddress, amount, }: Props) => { const { t } = useTranslation(); return ( {t("outcome.treasury.receivingAddress")} {receivingAddress} {t("outcome.treasury.amount")} ₳ {correctVoteAdaFormat(amount) ?? 0} ); };