UNPKG

@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) 347 B
/// <reference types="react" /> import { TokenListType, TokenType } from '../../../api/tokenList.js'; interface ISwapSelectProps { token: TokenType; setToken: (token: TokenType) => void; tokenList: TokenListType; } declare const SwapSelect: ({ token, setToken, tokenList }: ISwapSelectProps) => JSX.Element; export default SwapSelect;