UNPKG

react-native-directpay-ipg

Version:
27 lines (26 loc) 734 B
import React from 'react'; import Pusher from 'pusher-js/react-native'; interface Props { stage: string; signature: string; dataString: string; callback: Function; } interface States { token: string | null; link: string; loading: boolean; webloading: boolean; } declare class IPGComponent extends React.Component<Props, States> { constructor(props: Props | Readonly<Props>); pusher: Pusher | undefined; createSession(): Promise<void>; initPusher(ak: string, ch: string): Promise<void>; bindToPusher(ch: string): void; componentDidMount(): void; componentWillUnmount(): void; IndicatorLoadingView(): JSX.Element; render(): JSX.Element; } export default IPGComponent;