UNPKG
@ra-libs/react-rbac
Version:
latest (2.0.3)
2.0.3
2.0.2
2.0.1
2.0.0
1.6.7
1.6.6
1.6.5
1.6.4
1.6.3
1.6.2
1.6.1
1.6.0
1.5.0
1.4.2
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.2
1.2.1
1.2.0
1.1.0
1.0.0
React admin RBAC front components and utils
github.com/ra-libs/react-rbac
ra-libs/react-rbac
@ra-libs/react-rbac
/
dist
/
cjs
/
contexts
/
CASL
/
CASLConsumer.d.ts
8 lines
(7 loc)
•
257 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
React
from
'react'
;
import
{
CASLContextData
}
from
'./CASLContext'
;
type
CASLConsumerProps
= {
children
(
context
:
CASLContextData
):
React
.
ReactNode
; };
export
declare
function
CASLConsumer
(
props
:
CASLConsumerProps
):
React
.
JSX
.
Element
;
export
{};