@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).
10 lines (9 loc) • 309 B
TypeScript
/// <reference types="react" />
interface ISwapInputProps {
amount: number;
setAmount: (amount: number) => void;
disabled?: boolean;
setMaxAmount: () => void;
}
declare const SwapInput: ({ amount, setAmount, disabled, setMaxAmount }: ISwapInputProps) => JSX.Element;
export default SwapInput;