@fenil265/fundly-payment-sdk
Version:
Fundly Payment SDK for seamless integration with Fundly Pay systems.
12 lines • 415 B
TypeScript
import React from 'react';
export type ToastType = 'success' | 'error' | 'warning' | 'info';
interface ToastContextType {
showToast: (message: string, type?: ToastType) => void;
}
export declare const useToast: () => ToastContextType;
interface ToastProviderProps {
children: React.ReactNode;
}
export declare const ToastProvider: React.FC<ToastProviderProps>;
export {};
//# sourceMappingURL=Toast.d.ts.map