@habit.analytics/habit-smartlink-reactcomponent
Version:
A React component for Habit SmartLink integration.
8 lines • 479 B
TypeScript
/// <reference types="react" />
import { PrePaymentMethod, Environment } from "./helpers";
declare const useSmartlinkComponent: (prePaymentMethod: PrePaymentMethod, onPaymentSuccess: (successPaymentData: string) => void, env: Environment | undefined) => {
iframeRef: import("react").MutableRefObject<HTMLIFrameElement | null>;
enviroment: "localhost" | "int" | "qa" | "default";
};
export default useSmartlinkComponent;
//# sourceMappingURL=useSmartlinkComponent.d.ts.map