@sofaws/dapp-core
Version:
A library to hold the main logic for a dapp on the Elrond Network
18 lines • 676 B
TypeScript
import { TransactionToastDefaultProps } from '../transactionToast.type';
export declare const useTransactionToast: ({ toastId, transactions, status, lifetimeAfterSuccess, startTimestamp, endTimeProgress, onDelete }: TransactionToastDefaultProps) => {
progress: {
startTime: number;
endTime: number;
};
isPending: boolean;
isTimedOut: boolean;
toastDataState: {
id: string;
icon: import("@fortawesome/fontawesome-common-types").IconDefinition;
title: string;
hasCloseButton: boolean;
iconClassName: string;
};
handleDeleteToast: () => void;
};
//# sourceMappingURL=useTransactionToast.d.ts.map