"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importDefault(require("react"));
exports.PayButton = function (_a) {
    var onClick = _a.onClick, state = _a.state;
    if (state === 'hidden') {
        return null;
    }
    return (react_1.default.createElement("button", { onClick: onClick, className: "pay-btn", disabled: state === 'disabled' }, "Pay"));
};
//# sourceMappingURL=PayButton.js.map