@blocklet/payment-react
Version:
Reusable react components for payment kit v2
19 lines (18 loc) • 657 B
TypeScript
/**
* Price Change Confirmation Dialog (Final Freeze Architecture)
*
* Displayed when the price changes between Preview and Submit
* beyond the user's configured slippage threshold.
*
* @see Intent: blocklets/core/ai/intent/20260112-dynamic-price.md
*/
export interface PriceChangeConfirmProps {
open: boolean;
previewRate?: string;
submitRate?: string;
changePercent: number;
onConfirm: () => void;
onCancel: () => void;
loading?: boolean;
}
export default function PriceChangeConfirm({ open, previewRate, submitRate, changePercent, onConfirm, onCancel, loading, }: PriceChangeConfirmProps): import("react").JSX.Element;