UNPKG
@ryanar/react-auth-provider
Version:
latest (0.3.3)
0.3.3
0.3.2
0.3.1
0.3.0
0.2.0
> Easy to integrate react authentication management through context.
audiolion/react-auth-provider
@ryanar/react-auth-provider
/
dist
/
AuthContext.d.ts
7 lines
(6 loc)
•
222 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
React
from
'react'
;
export
declare
type
IAuthContext
= {
authenticated
:
boolean
;
setAuthenticated
:
(
isAuthenticated
:
boolean
) =>
void
; };
export
declare
const
AuthContext
:
React
.
Context
<
IAuthContext
>;