Skip to main content

Element()

Element<A, B, C, D, E, F, G, H, I, J, K>(props): null | ReactElement

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

B

C

D

E

F

G

H

I

J

K

Parameters

props

ElementProps<A, B, C, D, E, F, G, H, I, J, K> & RefAttributes<HTMLElement>

Returns

null | ReactElement