UNPKG

@habit.analytics/habit-smartlink-reactcomponent

Version:

A React component for Habit SmartLink integration.

16 lines 532 B
import React from "react"; import { Environment } from "./helpers"; interface SmartlinkComponentProps { hash: string; pin?: string; prePaymentMethod: (quoteId: string) => Promise<{ success: boolean; payment_id: string; }>; env?: Environment; onPaymentSuccess?: (successPaymentData: string) => void; customStyle?: React.CSSProperties; } declare const SmartlinkComponent: React.FC<SmartlinkComponentProps>; export default SmartlinkComponent; //# sourceMappingURL=SmartlinkComponent.d.ts.map