Function: useFireCMSContext()
useFireCMSContext<
UserType
,AuthControllerType
>():FireCMSContext
<UserType
,AuthControllerType
>
Hook to retrieve the FireCMSContext.
Consider that in order to use this hook you need to have a parent
FireCMS
component.
Type Parameters​
• UserType extends User
= User
• AuthControllerType extends AuthController
<UserType
> = AuthController
<UserType
>
Returns​
FireCMSContext
<UserType
, AuthControllerType
>
See​
FireCMSContext