payload-authjs
Version:
A Payload CMS 3 plugin for Auth.js 5
12 lines (11 loc) • 424 B
JavaScript
"use client";
import { jsx as _jsx } from "react/jsx-runtime";
import { signIn } from "next-auth/webauthn";
import { SignInButton } from "./SignInButton";
/**
* Wrapper around the SignInButton component to use the webauthn signIn function
*/ export const SignInButtonWebauthn = (props)=>/*#__PURE__*/ _jsx(SignInButton, {
...props,
signInFn: signIn
});
//# sourceMappingURL=SignInButtonWebauthn.js.map