@rebilly/framepay-react
Version:
A React wrapper for Rebilly's FramePay offering out-of-the-box support for Redux and other common React features
13 lines (11 loc) • 370 B
TypeScript
import type {
Configuration as FramePaySettings,
TokenData,
} from '@rebilly/framepay';
interface ProviderProps extends FramePaySettings {
children?: React.ReactNode | undefined;
readonly injectScript?: boolean;
readonly onReady?: () => void;
readonly onError?: (error: object) => void;
readonly onTokenReady?: (token: TokenData) => void;
}