UserProvider: ((props) => ReactElement<UserContext>)

Type declaration

    • (props): ReactElement<UserContext>
    • To use the useUser hook, you must wrap your application in a <UserProvider> component.

      Parameters

      Returns ReactElement<UserContext>