mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-04-29 04:00:09 +00:00
Initial commit of eigent-main
This commit is contained in:
commit
723df5a03e
1144 changed files with 103478 additions and 0 deletions
27
package/@stackframe/react/dist/esm/components/oauth-button-group.js
vendored
Normal file
27
package/@stackframe/react/dist/esm/components/oauth-button-group.js
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
"use client";
|
||||
"use client";
|
||||
|
||||
// src/components/oauth-button-group.tsx
|
||||
import { useStackApp } from "../lib/hooks";
|
||||
import { OAuthButton } from "./oauth-button";
|
||||
import { jsx } from "react/jsx-runtime";
|
||||
function OAuthButtonGroup({
|
||||
type,
|
||||
mockProject
|
||||
}) {
|
||||
const stackApp = useStackApp();
|
||||
const project = mockProject || stackApp.useProject();
|
||||
return /* @__PURE__ */ jsx("div", { className: "gap-4 flex flex-col items-stretch stack-scope", children: project.config.oauthProviders.map((p) => /* @__PURE__ */ jsx(
|
||||
OAuthButton,
|
||||
{
|
||||
provider: p.id,
|
||||
type,
|
||||
isMock: !!mockProject
|
||||
},
|
||||
p.id
|
||||
)) });
|
||||
}
|
||||
export {
|
||||
OAuthButtonGroup
|
||||
};
|
||||
//# sourceMappingURL=oauth-button-group.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue