@yak-spirit/yak-swap-ui
Version:
A reusable React component for swapping with Yield Yak Router. The YY Router can be found [here](https://github.com/yieldyak/yak-aggregator).
13 lines (12 loc) • 525 B
TypeScript
/// <reference types="react" />
import { TokenListType, TokenType } from '../../../api/tokenList.js';
interface ISwapCardInputsProps {
isSend?: boolean;
tokenList: TokenListType;
usdPrices?: any;
onTokenChange?: (newToken: TokenType) => void;
onAmountInChange?: (newAmount: number) => void;
showUsdPrices?: boolean;
}
declare const SwapCardInputs: ({ isSend, tokenList, usdPrices, onTokenChange, onAmountInChange, showUsdPrices, }: ISwapCardInputsProps) => JSX.Element;
export default SwapCardInputs;