import { jsx as _jsx } from "react/jsx-runtime";
import { runCodexLoginFlow } from '../auth/chatgpt-codex.js';
import { OAuthLogin } from './oauth-login.js';
const DEFAULT_PROVIDER_NAME = 'ChatGPT';
export function CodexLogin({ providerName = DEFAULT_PROVIDER_NAME, onDone, }) {
    return (_jsx(OAuthLogin, { providerName: providerName, displayName: "ChatGPT/Codex", runFlow: runCodexLoginFlow, onDone: onDone }));
}
//# sourceMappingURL=codex-login.js.map