Skip to content

Commit 2f8320c

Browse files
chore(docs): enhance API reference description for next-auth/react (#11874)
* chore(docs): enhance API reference description for next-auth/react * Apply suggestions from code review --------- Co-authored-by: Balázs Orbán <[email protected]>
1 parent d954fd7 commit 2f8320c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/next-auth/src/react.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
/**
22
*
3-
* NextAuth.js methods and components that work in [Client components](https://nextjs.org/docs/app/building-your-application/rendering/client-components) and the [Pages Router](https://nextjs.org/docs/pages).
3+
* NextAuth.js is the official integration of Auth.js for Next.js applications. It supports both
4+
* [Client Components](https://nextjs.org/docs/app/building-your-application/rendering/client-components) and the
5+
* [Pages Router](https://nextjs.org/docs/pages). It includes methods for signing in, signing out, hooks, and a React
6+
* Context provider to wrap your application and make session data available anywhere.
47
*
58
* For use in [Server Actions](https://nextjs.org/docs/app/api-reference/functions/server-actions), check out [these methods](https://authjs.dev/guides/upgrade-to-v5#methods)
69
*

0 commit comments

Comments
 (0)