UNPKG
react-sanctum
Version:
beta (2.0.0)
latest (3.1.0)
3.1.0
3.0.0
2.3.1
2.3.0
2.2.0
2.1.3
2.1.2
2.1.1
2.1.0
2.0.1
2.0.0
1.0.1
1.0.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
Easily hook up your React app to Laravel Sanctum
github.com/koole/react-sanctum
koole/react-sanctum
react-sanctum
/
build
/
withSanctum.d.ts
7 lines
(6 loc)
•
195 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
*
as
React
from
"react"
;
declare
const
withSanctum
:
(
Component
:
React
.
ComponentType
<
any
>
) =>
{ (
props
:
any
):
React
.
JSX
.
Element
;
displayName
:
string
; };
export
default
withSanctum;