@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
18 lines (17 loc) • 824 B
TypeScript
import React from 'react';
import type { FunkitCheckoutConfig } from '../../providers/FunkitCheckoutContext/types';
export declare const YIELD_GREEN = "#478f00";
/**
* Renders integrator-provided destination yield metadata (Supply APY /
* Collateralization) as rows. Driven by the customer-agnostic
* `destinationYieldInfo` checkout-config field — the SDK never fetches these;
* the integrator resolves and threads them in (e.g. Aave's
* `createAaveSupplyCheckoutConfig`).
*
* Owns its leading `FunTxSummaryDivider` so it can be appended inside the
* payment method summary box, and returns `null` when no value is present so
* no orphan divider appears.
*/
export declare function DestinationYieldRows({ yieldInfo, }: {
yieldInfo: FunkitCheckoutConfig['destinationYieldInfo'];
}): React.JSX.Element | null;