useRendererProps
export
function
useRendererProps
<
 Â
RendererProps
extends
RenderersProps
<
RendererProps
>
,
 Â
K
extends
string
 Â
|
number
 Â
|
symbol
>
(
 Â
tagName
:
K
)
:
RendererProps
[
K
]
Consume props from ​renderersProps
.
#
Type ParametersRendererProps
#
K
#
The type literal corresponding to the element name.
#
ParameterstagName
#
required
tagName
:
K
;
The name of the element.
#
Returnsprops for this renderer.