react-korapay
Version:
This is a react package for implementing korapay collection gateway
13 lines (12 loc) • 457 B
TypeScript
import * as React from "react";
import { KorapayConfig } from "./types";
interface KorapayButtonProps extends KorapayConfig {
text?: string;
className?: string;
children?: React.ReactNode;
onSuccess?: Function;
onClose?: Function;
disabled?: boolean;
}
declare const KorapayButton: ({ text, className, children, onSuccess, onClose, disabled, ...config }: KorapayButtonProps) => JSX.Element;
export default KorapayButton;