@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
34 lines (33 loc) • 1.7 kB
TypeScript
import type { DirectExecution } from '@funkit/api-base';
import React from 'react';
import type { MergedMultiStepDirectExecution } from '~/hooks/queries/useRecentDirectExecutions';
import type { TextConfigStatus, TextConfigSteps } from '../TransactionStatus/TransactionStatus';
import type { FunDirectExecutionStatusProps } from './FunDirectExecutionStatus';
export declare function FunDirectExecutionHistoryDetail({ bottomBarId, directExecution, isActiveCheckout, onClose, onAnimationComplete, showCheckoutStatus, customTextConfigStatus, customTextConfigSteps, dangerousCustomDelayedAutoTriggerCutoff, disableAutoUpdate, hideYouReceive, }: {
bottomBarId: string;
directExecution: DirectExecution;
isActiveCheckout: boolean;
onClose: (options?: {
isNewDeposit?: boolean;
}) => void;
onAnimationComplete?: (callback: () => void) => void;
showCheckoutStatus?: boolean;
customTextConfigStatus?: TextConfigStatus;
customTextConfigSteps?: TextConfigSteps;
/**
* *WARNING*: READ BEFORE USING!
* ---
* {@link FunDirectExecutionStatusProps['dangerousCustomDelayedAutoTriggerCutoff']}
*/
dangerousCustomDelayedAutoTriggerCutoff?: FunDirectExecutionStatusProps['dangerousCustomDelayedAutoTriggerCutoff'];
/**
* By default this component will use hash of direct execution to fetch latest data.
* If you want to disable this, set this to true.
*/
disableAutoUpdate?: boolean;
hideYouReceive?: boolean;
}): React.JSX.Element;
export declare function DirectExecutionOrderDetailSection({ directExecution, disabled, }: {
directExecution: MergedMultiStepDirectExecution;
disabled?: boolean;
}): React.JSX.Element;