@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
21 lines (20 loc) • 1.08 kB
TypeScript
import React, { type ReactNode } from 'react';
import type { FunButtonProps } from '../../../components/FunButton/FunButton';
import { type ErrorNotification } from '../../../components/FunNotification/FunNotification';
interface InputAmountLayoutProps {
actionButtonProps: FunButtonProps;
fiatCurrencySelector?: ReactNode;
amountOptions?: ReactNode;
amountInput: ReactNode;
amountInputSwitch: ReactNode;
/** Symbol of the token the switcher displays — mode-dependent (EXACT_IN →
* input, EXACT_OUT → output), resolved upstream via computeSwitcherDisplayToken.
* When the `hide-stablecoin-amount-switch` gate is on and this is a recognized
* stablecoin, the switcher is auto-hidden. */
switcherTokenSymbol?: string;
header?: ReactNode;
footer?: ReactNode;
error?: ErrorNotification;
}
export declare function InputAmountLayout({ actionButtonProps, amountOptions, fiatCurrencySelector, amountInput, amountInputSwitch, switcherTokenSymbol, header, footer, error, }: InputAmountLayoutProps): React.JSX.Element;
export {};