mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
docs
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
*
|
||||
* ```ts title="app/auth-components.tsx"
|
||||
* "use client"
|
||||
* import { signIn, signOut } from "@next-auth/react"
|
||||
* import { signIn, signOut } from "next-auth/react"
|
||||
*
|
||||
* export function SignIn({provider, ...props}: any) {
|
||||
* return <button {...props} onClick={() => signIn(provider)}/>
|
||||
|
||||
Reference in New Issue
Block a user