import React from "react"; import { useTheme } from "@/context"; interface SwapDetailsProps { estimateResult: any; fromToken: any; toToken: any; fromAmount: string; toAmount: string; slippage: number; fromValue: number; toValue: number; } export const SwapDetails: React.FC = ({ estimateResult, fromToken, toToken, fromAmount, toAmount, slippage, fromValue, toValue, }) => { const theme = useTheme(); return (

Transaction Details

); }; const DetailRow: React.FC<{ label: string; value: string }> = ({ label, value, }) => { const theme = useTheme(); return (
{label} {value}
); };