Module: react-clerk
React login component for use with Clerk.
Functions
ConvexProviderWithClerk
▸ ConvexProviderWithClerk(«destructured»): Element
A wrapper React component which provides a ConvexReactClient authenticated with Clerk.
It must be wrapped by a configured ClerkProvider, from @clerk/clerk-react, @clerk/clerk-expo, @clerk/nextjs or another React-based Clerk client library and have the corresponding useAuth hook passed in.
See Convex Clerk on how to set up Convex with Clerk.
Parameters
| Name | Type |
|---|---|
«destructured» | Object |
› children | ReactNode |
› client | IConvexReactClient |
› useAuth | UseAuth |
Returns
Element