UNPKG

react-native-klarna-inapp-sdk

Version:

This library wraps Klarna Mobile SDK and exposes its functionality as React Native components.

10 lines 571 B
import type { TurboModule } from 'react-native'; import { KlarnaProductEvent } from '../types/common/KlarnaProductEvent'; export interface Spec extends TurboModule { init(instanceId: string, environment: string, region: string, returnUrl: string): Promise<void>; dispose(instanceId: string): Promise<void>; signIn(instanceId: string, clientId: string, scope: string, market: string, locale: string, tokenizationId?: string): Promise<KlarnaProductEvent>; } declare const _default: Spec; export default _default; //# sourceMappingURL=NativeKlarnaSignIn.d.ts.map