Element()
const
Element: <A
,B
,C
,D
,E
,F
,G
,H
,I
,J
,K
>(props
) =>null
|ReactElement
<unknown
,string
|JSXElementConstructor
<any
>>
This generic component serves as any easy way for more complex components to establish stylable content areas within their layout with optional targetted contexts for any subcomponents
See Dialog & Drawer as examples
Type Parameters
A
A
B
B
C
C
D
D
E
E
F
F
G
G
H
H
I
I
J
J
K
K
Parameters
props
ElementProps
<A
, B
, C
, D
, E
, F
, G
, H
, I
, J
, K
> & RefAttributes
<HTMLElement
>
Returns
null
| ReactElement
<unknown
, string
| JSXElementConstructor
<any
>>