UNPKG
cosmic-authentication
Version:
latest (1.1.3)
1.1.3
1.1.2
1.0.2
1.0.1
1.0.0
Authentication library for cosmic.new. Designed to be used and deployed on cosmic.new
cosmic.new
cosmic-authentication
/
dist
/
context
/
auth-context.d.ts
7 lines
•
296 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
ReactNode
}
from
'react'
;
import
{
AuthContextType
}
from
'../types'
;
export
declare
function
AuthProvider
(
{ children }: { children: ReactNode; }
):
import
(
"react/jsx-runtime"
).
JSX
.
Element
;
export
declare
function
useAuth
(
):
AuthContextType
;
//# sourceMappingURL=auth-context.d.ts.map