import React from 'react';
import { TopUpRadioCrypto, TopUpRadioFiat } from './TopUpRadio';
;
export var ChooseTopUpMethodHeader = function (_a) {
    var topUpMethod = _a.topUpMethod, setTopUpMethod = _a.setTopUpMethod;
    return (React.createElement("div", { className: "top-up-header" },
        React.createElement("h2", { className: "top-up-title" }, "Choose a top-up method"),
        React.createElement("div", { className: "top-up-methods" },
            React.createElement(TopUpRadioCrypto, { id: "topup-btn-crypto", onClick: function () { return setTopUpMethod('crypto'); }, checked: topUpMethod === 'crypto', name: "top-up-method", className: "top-up-method " + (topUpMethod === 'crypto' ? 'active' : '') }),
            React.createElement(TopUpRadioFiat, { id: "topup-btn-fiat", onClick: function () { return setTopUpMethod('fiat'); }, checked: topUpMethod === 'fiat', name: "top-up-method", className: "top-up-method " + (topUpMethod === 'fiat' ? 'active' : '') }))));
};
//# sourceMappingURL=ChooseTopUpMethodHeader.js.map