{"size": 832, "ext": "js", "max_stars_repo_path": "index.js", "max_stars_repo_name": "zvelt/react-native-paylike", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "index.js", "max_issues_repo_name": "zvelt/react-native-paylike", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "index.js", "max_forks_repo_name": "zvelt/react-native-paylike", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 32.0, "max_line_length": 91, "alphanum_fraction": 0.7403846154}
import {Paylike as PaylikeLib} from './src/paylike';
import Api from './src/api';
import {CardDropIn} from "./src/components/card/CardDropIn";
import {NativePayment, canMakeNativePayments} from "./src/components/native/NativePayment";
import NativePaymentButton from "./src/components/native/NativePaymentButton";
import withController from "./src/components/withController";
import {Errors, ErrorTypes} from "./src/errors";
import {createDisplayItem} from "./src/utils";

const Paylike = (publicKey) => {
    return new PaylikeLib(new Api(publicKey));
}

export {
    Paylike, // Paylike lib for making payments
    CardDropIn, // CardDropIn
    NativePayment, // NativePayment
    NativePaymentButton,
    canMakeNativePayments,
    withController, // a controller for DIY UI
    ErrorTypes,
    Errors,
    createDisplayItem
};

