@pushchain/ui-kit
Version:
Push Chain is a true universal L1 that is 100% EVM compatible. It allows developers to deploy once and make their apps instantly compatible with users from all other L1s (Ethereum, Solana, etc) with zero on-chain code change.
24 lines (23 loc) • 915 B
TypeScript
import React, { FC } from 'react';
import { ProgressEvent } from '@pushchain/core/src/lib/progress-hook/progress-hook.types';
declare const TOAST_POSITION: {
readonly TOP_LEFT: "top-left";
readonly TOP_MIDDLE: "top-middle";
readonly TOP_RIGHT: "top-right";
readonly BOTTOM_LEFT: "bottom-left";
readonly BOTTOM_MIDDLE: "bottom-middle";
readonly BOTTOM_RIGHT: "bottom-right";
};
type ToastPosition = typeof TOAST_POSITION[keyof typeof TOAST_POSITION];
type PushWalletToastProps = {
progress: ProgressEvent | null;
setProgress: React.Dispatch<React.SetStateAction<ProgressEvent | null>>;
initialChain?: string;
className?: string;
toastPosition?: ToastPosition;
hidden?: boolean;
};
declare const PushWalletToast: FC<PushWalletToastProps>;
export { PushWalletToast, TOAST_POSITION };
export { getUniversalTxId } from './trackTransaction';
export type { ToastPosition };